|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
# {{ server_name_default }} and www.{{ server_name_default }} |
|
|
|
|
# should handle the following cases: |
|
|
|
|
# - w/ and wiki/ should reverse proxy story_mw |
|
|
|
|
# - phpMyAdmin/ should reverse proxy stormy_myadmin |
|
|
|
|
# - gitea subdomain should reverse proxy stormy_gitea |
|
|
|
|
# |
|
|
|
|
#################### |
|
|
|
|
|
|
|
|
@ -43,13 +43,6 @@ server {
@@ -43,13 +43,6 @@ server {
|
|
|
|
|
proxy_pass http://stormy_mw:8989/w/; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#location /phpMyAdmin/ { |
|
|
|
|
# proxy_set_header X-Real-IP $remote_addr; |
|
|
|
|
# proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
|
# proxy_set_header Host $host; |
|
|
|
|
# proxy_pass http://stormy_myadmin:80/; |
|
|
|
|
#} |
|
|
|
|
|
|
|
|
|
# ~ means case-sensitive regex match, rather than string literal |
|
|
|
|
# (ignores .git, .gitignore, etc.) |
|
|
|
|
location ~ /\.git { |
|
|
|
@ -91,13 +84,6 @@ server {
@@ -91,13 +84,6 @@ server {
|
|
|
|
|
proxy_pass http://stormy_mw:8989/w/; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#location /phpMyAdmin/ { |
|
|
|
|
# proxy_set_header X-Real-IP $remote_addr; |
|
|
|
|
# proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
|
# proxy_set_header Host $host; |
|
|
|
|
# proxy_pass http://stormy_myadmin:80/; |
|
|
|
|
#} |
|
|
|
|
|
|
|
|
|
location ~ /\.git { |
|
|
|
|
deny all; |
|
|
|
|
} |
|
|
|
|