NGINX RP: Move homepage from www.viyurz.fr to viyurz.fr
This commit is contained in:
parent
769c9b7d9f
commit
946867ff84
1 changed files with 2 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue