diff options
-rw-r--r-- | init.conf | 3 | ||||
-rw-r--r-- | spectralrenga.conf | 21 |
2 files changed, 0 insertions, 24 deletions
diff --git a/init.conf b/init.conf deleted file mode 100644 index 7d3d03e..0000000 --- a/init.conf +++ /dev/null @@ -1,3 +0,0 @@ -server { - server_name spectralrenga.cyfraeviolae.org; -} diff --git a/spectralrenga.conf b/spectralrenga.conf deleted file mode 100644 index 95875ba..0000000 --- a/spectralrenga.conf +++ /dev/null @@ -1,21 +0,0 @@ -server { - server_name spectralrenga.cyfraeviolae.org; - location / { - proxy_pass http://127.0.0.1:8080; - } - - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/spectralrenga.cyfraeviolae.org/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/spectralrenga.cyfraeviolae.org/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; -} - -server { - if ($host = spectralrenga.cyfraeviolae.org) { - return 301 https://$host$request_uri; - } # managed by Certbot - server_name spectralrenga.cyfraeviolae.org; - listen 80; - return 404; -} |