Commit c40c9317 authored by Cédric Crettaz's avatar Cédric Crettaz 🖥
Browse files

Update nginx.conf for the domain name and HTTPS.

parent 45e157db
......@@ -60,8 +60,13 @@ http {
}
server {
server_name www.example.com "";
server_name test.naiades-project.eu "";
listen 80;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/server2.your.domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/server2.your.domain/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
add_header Access-Control-Allow-Origin $allow_origin;
add_header Access-Control-Allow-Credentials 'true';
add_header Access-Control-Max-Age $cors_max_age;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment