Commit 126f754f authored by marc duez's avatar marc duez

nginx config

allow /browser in url
parent 7396ef94
...@@ -32,7 +32,16 @@ server { ...@@ -32,7 +32,16 @@ server {
### ###
} }
rewrite ^/browser/([0-9]+)-([0-9]+)(\/?) /?set=$1&conf=$2 break;
rewrite ^/([0-9]+)-([0-9]+)(\/?) /?set=$1&conf=$2 break; rewrite ^/([0-9]+)-([0-9]+)(\/?) /?set=$1&conf=$2 break;
location /browser {
root /usr/share/vidjil;
expires 1h;
error_page 405 = $uri;
}
location / { location / {
root /usr/share/vidjil/browser; root /usr/share/vidjil/browser;
expires 1h; expires 1h;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment