Blocking BergenNJ

Syslog for NGINX
This commit is contained in:
Luke Berndt
2023-02-05 21:49:08 -05:00
parent f98d98ddf2
commit fe9ed36ba0
2 changed files with 8 additions and 4 deletions

View File

@@ -24,10 +24,10 @@ services:
- account
- admin
command: /bin/bash -c "envsubst '$$DOMAIN_NAME' < /etc/nginx/conf.d/site.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
#logging:
# driver: syslog
# options:
# tag: "nginx"
logging:
driver: syslog
options:
tag: "nginx"
mongo:
build:

View File

@@ -71,6 +71,10 @@ server {
deny all;
}
location /bergennj/upload {
deny all;
}
location / {
proxy_pass http://backend:3005;