|
@@ -14,7 +14,7 @@
|
|
|
# Default server configuration
|
|
|
#
|
|
|
upstream mailpile {
|
|
|
- server mailpile-service-dockerbunker:${PORT};
|
|
|
+ server mailpile-service-dockerbunker:33411;
|
|
|
}
|
|
|
|
|
|
server {
|
|
@@ -36,7 +36,7 @@ server {
|
|
|
|
|
|
include /etc/nginx/includes/gzip.conf;
|
|
|
|
|
|
- location ${LOCATION} {
|
|
|
+ location / {
|
|
|
rewrite ^(.*)$ $1 break; # prevents additional rewrites of the path via proxy_pass
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|