Commit 29d69e50 authored by Ryan Herbert's avatar Ryan Herbert Committed by marc duez

nginx: fix cyclical rewrite

parent fbe29ca0
......@@ -42,8 +42,11 @@ server {
error_page 405 = $1;
}
location /(c|client|browser) {
rewrite /(c|client|browser) /browser;
location ~ ^/(c|client) {
rewrite /(c|client) /browser;
}
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;
......
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