Update conf.d/pocketapp.conf

This commit is contained in:
pombas_n committed 2026-09-28 14:29:03 +02:00
1 parent 9997f49ae3
commit 1556766bc1
1 file changed
+10 -7
+10 -7
View File
@@ -13,20 +13,23 @@ server {
# Phonebook API
location = /phoneapi {
return 301 /phoneapi/;
}
location /phoneapi/ {
proxy_pass https://appeng-win-webservices.psi.ch/api/Phonebook/;
proxy_ssl_server_name on;
proxy_set_header Host appeng-win-webservices.psi.ch;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location ^~ /phoneapi/ {
proxy_pass https://appeng-win-webservices.psi.ch/api/Phonebook/;
proxy_ssl_server_name on;
proxy_set_header Host appeng-win-webservices.psi.ch;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Pocket App
location / {
proxy_set_header Upgrade $http_upgrade;