1
0
Fork 0

As index.html is actually static, have nginx serve it.

feature/qrgen
Daniel Perelman vor 4 Jahren
Ursprung c4cddaaefd
Commit 6300f20407

@ -18,10 +18,11 @@ server {
server_name _;
location / {
try_files $uri $uri/ @proxy_to_app;
location /camera/ {
alias /path/to/minimal-webrtc/wwwroot/;
try_files $uri $uri/ @minimal_webrtc;
}
location @proxy_to_app {
location @minimal_webrtc {
proxy_pass http://minimal-webrtc;
proxy_http_version 1.1;

@ -0,0 +1 @@
../camera/templates/index.html
Laden…
Abbrechen
Speichern