NGINX RP: Move homepage from www.viyurz.fr to viyurz.fr

This commit is contained in:
Viyurz 2024-02-06 12:03:28 +01:00
parent 769c9b7d9f
commit 946867ff84

View file

@ -21,7 +21,7 @@ server {
}
# Base domain redirect
# Base domain / Homepage
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@ -42,7 +42,7 @@ server {
}
location / {
return 308 https://www.viyurz.fr$request_uri;
proxy_pass http://localhost:8082;
}
}
@ -58,19 +58,6 @@ server {
}
# Homepage
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.viyurz.fr;
location / {
proxy_pass http://localhost:8082;
}
}
# Element
server {
listen 443 ssl http2;
@ -106,7 +93,6 @@ server {
}
# Nextcloud
server {
listen 443 ssl http2;