Skip to content
Snippets Groups Projects
Commit fc8a0397 authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris
Browse files

Reference issue for nginx redirection

parent 2d205f40
No related branches found
No related tags found
No related merge requests found
Pipeline #2794776 passed
......@@ -150,6 +150,7 @@ server {
# To develop this section the following links were used:
# - http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite
# - https://www.nginx.com/blog/creating-nginx-rewrite-rules/
# Ref: https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/390
location ~ "^/sites/((?!default)).*$" {
rewrite ^(/sites)/[^\/]+/(.*)$ $1/default/$2 permanent;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment