rspam web passwordprotection

This commit is contained in:
mwiegand 2022-02-05 14:52:27 +01:00
parent f7de8e4d2e
commit 63741f271b
2 changed files with 2 additions and 2 deletions

View file

@ -30,8 +30,7 @@ def nginx_vhost(metadata):
metadata.get('rspamd/hostname'): { metadata.get('rspamd/hostname'): {
'content': 'nginx/proxy_pass.conf', 'content': 'nginx/proxy_pass.conf',
'context': { 'context': {
'target': 'http://localhost:9999', 'target': 'http://localhost:11334',
# 'target': 'http://localhost:11334',
}, },
}, },
}, },

View file

@ -7,6 +7,7 @@ server {
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem; ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
location / { location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass ${target}; proxy_pass ${target};
} }
} }