From a922d0d8724dce93984b10a25af528b9c618adc8 Mon Sep 17 00:00:00 2001 From: "FancyPille\\PhilippErler" Date: Wed, 20 Mar 2024 14:12:35 +0100 Subject: [PATCH] fix server name --- web/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/nginx.conf b/web/nginx.conf index 15fa15a..828227f 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -41,7 +41,7 @@ http { # Remove this block for HTTP server { listen 80 default_server; - server_name _; + server_name pix2model.cg.tuwien.ac.at; location /.well-known/acme-challenge/ { root /var/www/certbot; @@ -63,11 +63,11 @@ http { listen [::]:443 ssl; ssl on; - ssl_certificate /etc/ssl/live/netidee.cg.tuwien.ac.at/fullchain.pem; - ssl_certificate_key /etc/ssl/live/netidee.cg.tuwien.ac.at/privkey.pem; + ssl_certificate /etc/ssl/live/pix2model.cg.tuwien.ac.at/fullchain.pem; + ssl_certificate_key /etc/ssl/live/pix2model.cg.tuwien.ac.at/privkey.pem; # ====================== END - HTTPS SETUP ====================== - server_name netidee.cg.tuwien.ac.at; + server_name pix2model.cg.tuwien.ac.at; client_max_body_size 0; #access_log /var/log/nginx/host.access.log main;