mirror of
https://github.com/UiO-Gaming/drift.git
synced 2026-11-05 13:56:46 +01:00
redirect website backend to cloud hosted version
This commit is contained in:
1 parent
50a46d968f
commit
75980805a3
1 file changed
+2
-6
+2
-6
@@ -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
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user