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 - account
- admin - admin
command: /bin/bash -c "envsubst '$$DOMAIN_NAME' < /etc/nginx/conf.d/site.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" command: /bin/bash -c "envsubst '$$DOMAIN_NAME' < /etc/nginx/conf.d/site.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
#logging: logging:
# driver: syslog driver: syslog
# options: options:
# tag: "nginx" tag: "nginx"
mongo: mongo:
build: build:

View File

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