Skip to content

Commit 1596a6a

Browse files
committed
Revert "Remove MSU redirect to allow staging/dev MSU commons"
This reverts commit 5d47cf2.
1 parent e5dca13 commit 1596a6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/all/nginx/templates/hcommons.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ server {
2525
listen 80 default_server;
2626
server_name ~^(?<sitename>[\w-]+\.)?(?<subdomain>[\w-]+)\.${DOMAIN_NAME}$ action.mla.org symposium.mla.org *.action.mla.org *.symposium.mla.org commons.msu.edu *.commons.msu.edu;
2727

28-
#if ( $subdomain = "msu" ) {
29-
# rewrite ^ "https://${sitename}commons.msu.edu$uri" permanent;
30-
#}
28+
if ( $subdomain = "msu" ) {
29+
rewrite ^ "https://${sitename}commons.msu.edu$uri" permanent;
30+
}
3131

3232
root "/app/site/web";
3333
index index.php index.htm index.html;

0 commit comments

Comments
 (0)