Commit 2cbed2c1 authored by Ryan Herbert's avatar Ryan Herbert Committed by marc duez

nginx_web2py_http add rewrite rules

so that url params can work with the docker http configuration
parent f5b89da7
......@@ -19,6 +19,8 @@ server {
## from the previous server instance to manage static files
location /browser {
rewrite /browser/([0-9]+)/([0-9]+)(/+) /browser/?set=$1&conf=$2 break;
rewrite /browser/([0-9/]+)/(css|js|images|test)/(.*) /browser/$2/$3 redirect;
root /usr/share/vidjil;
expires 1h;
add_header Cache-Control must-revalidate;
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