1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-02 09:02:42 +02:00
andryyy 2016-12-16 12:23:04 +01:00
parent 8559de7ae6
commit 220ea526f7
2 changed files with 5 additions and 2 deletions

View File

@ -24,10 +24,15 @@ server {
fastcgi_param PATH_INFO $fastcgi_path_info;
}
rewrite ^(/save.+)$ /rspamd$1 last;
location /rspamd/ {
proxy_pass http://rspamd:11334/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options SAMEORIGIN;
add_header X-XSS-Protection "1; mode=block";
}
location ^~ /inc/init.sql {

View File

@ -55,7 +55,6 @@ services:
restart: always
dns:
- 172.22.1.2
- 127.0.0.11
dns_search: mailcow-network
networks:
mailcow-network:
@ -155,7 +154,6 @@ services:
hostname: ${MAILCOW_HOSTNAME}
dns:
- 172.22.1.2
- 127.0.0.11
dns_search: mailcow-network
networks:
mailcow-network: