Skip to content
Snippets Groups Projects
Commit 6bed1b73 authored by Nils Olof Paulsson's avatar Nils Olof Paulsson
Browse files

trytofixnginx

parent 769cbecf
No related branches found
No related tags found
2 merge requests!10Test,!9Devel
Pipeline #130846 passed
...@@ -19,18 +19,24 @@ server { ...@@ -19,18 +19,24 @@ server {
} }
server { server {
listen [::]:80 ipv6only=on ;
listen 80; listen 80;
server_name ntadigital.it.liu.se; server_name ntadigital.it.liu.se;
location / { location / {
return 301 http://egg.it.liu.se; return 301 https://egg.it.liu.se;
} }
} }
server { server {
listen 80; listen [::]:443 ssl ipv6only=on ;
listen 443 ssl ;
server_name egg.it.liu.se; server_name egg.it.liu.se;
ssl_certificate /etc/pki/tls/certs/letsencrypt-cert_chain-egg.devel.it.liu.se.pem ;
ssl_certificate_key /etc/pki/tls/private/letsencrypt-egg.devel.it.liu.se.key ;
client_max_body_size 0; client_max_body_size 0;
location = /favicon.ico { location = /favicon.ico {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment