redirect website backend to cloud hosted version

This commit is contained in:
Leander West Furumo authored and GitHub committed 2021-05-20 02:32:03 +02:00
1 parent 50a46d968f
commit 75980805a3
1 file changed
+2 -6
+2 -6
View File
@@ -35,11 +35,7 @@ server {
server {
server_name admin.uiogaming.no;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:3333;
proxy_redirect off;
}
rewrite ^/(.*)$ https://uiogaming.sanity.studio;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/admin.uiogaming.no/fullchain.pem; # managed by Certbot
@@ -370,4 +366,4 @@ server {
return 404; # managed by Certbot
}
}