Home
DevCentral
Search
Configure Global Search
Log In
Transactions
P196
Change Details
Change Details
Old
New
Diff
server { listen 80; listen [::]:80; server_name login.nasqueron.org; include letsencrypt; include ssl_params; ssl_certificate /data/letsencrypt/etc/live/login.nasqueron.org/fullchain.pem; ssl_certificate_key /data/letsencrypt/etc/live/login.nasqueron.org/privkey.pem; # Docker container: login include proxy_params; location / { proxy_pass http://localhost:25080; } # 502 error root /var/wwwroot-502/$server_name; error_page 502 /502.html; location /502.html {} }
# Force a redirection from http:// to https:// server { listen 80; listen [::]:80; server_name login.nasqueron.org; include letsencrypt; return 301 https://$host$request_uri; } server { server_name login.nasqueron.org; include ssl_params; ssl_certificate /data/letsencrypt/etc/live/login.nasqueron.org/fullchain.pem; ssl_certificate_key /data/letsencrypt/etc/live/login.nasqueron.org/privkey.pem; # Docker container: login include proxy_params; location / { proxy_pass http://localhost:25080; } # 502 error root /var/wwwroot-502/$server_name; error_page 502 /502.html; location /502.html {} }
# Force a redirection from http:// to https://
server { listen 80; listen [::]:80; server_name login.nasqueron.org;
include letsencrypt;
return 301 https://$host$request_uri; } server { server_name login.nasqueron.org;
include ssl_params; ssl_certificate /data/letsencrypt/etc/live/login.nasqueron.org/fullchain.pem; ssl_certificate_key /data/letsencrypt/etc/live/login.nasqueron.org/privkey.pem; # Docker container: login include proxy_params; location / { proxy_pass http://localhost:25080; } # 502 error root /var/wwwroot-502/$server_name; error_page 502 /502.html; location /502.html {} }
Continue