.
This commit is contained in:
@@ -7,6 +7,10 @@ server {
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
# Write logs to the host-mounted folder so Promtail can scrape them
|
||||
access_log /var/log/rad/nginx.access.log combined;
|
||||
error_log /var/log/rad/nginx.error.log warn;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
location /static/ {
|
||||
|
||||
@@ -8,6 +8,10 @@ server {
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
# Write logs to the host-mounted folder so Promtail can scrape them
|
||||
access_log /var/log/rad/nginx.access.log combined;
|
||||
error_log /var/log/rad/nginx.error.log warn;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
# Serve static files from the static volume
|
||||
@@ -112,6 +116,10 @@ server {
|
||||
|
||||
client_max_body_size 4G;
|
||||
|
||||
# Write logs to the host-mounted folder so Promtail can scrape them
|
||||
access_log /var/log/rad/nginx.access.log combined;
|
||||
error_log /var/log/rad/nginx.error.log warn;
|
||||
|
||||
# Same static/media handling as above
|
||||
location /static/ { alias /usr/src/app/static/; }
|
||||
location /media { alias /usr/src/app/media; }
|
||||
|
||||
Reference in New Issue
Block a user