1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

Add ENV variable PREFIX_PATH to backend and web project

This commit is contained in:
Tobias Stein
2019-06-26 11:56:29 +02:00
parent f26fe29012
commit 175d7a8517
10 changed files with 49 additions and 25 deletions
+10 -2
View File
@@ -13,11 +13,19 @@ server {
root /usr/local/lib/web/frontend/;
index index.html index.htm;
location ~ ^/APP/api {
location = /app {
try_files $uri @rewrites;
}
location @rewrites {
rewrite ^(.+)$ /index.html last;
}
location ~ ^/app/api {
try_files $uri @api;
}
location = /APP/websockify {
location = /app/websockify {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";