1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

cha2524222fvdfа

This commit is contained in:
MoonTestUse1
2024-12-24 04:23:23 +06:00
parent 71aa120c40
commit b302d9664d
2 changed files with 5 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ services:
- "80:80" - "80:80"
volumes: volumes:
- ./frontend/dist:/usr/share/nginx/html - ./frontend/dist:/usr/share/nginx/html
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro - ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
depends_on: depends_on:
- frontend - frontend

View File

@@ -11,9 +11,9 @@ http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" $status ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$body_bytes_sent "$http_referer" "$http_user_agent" ' '$status $body_bytes_sent "$http_referer" '
'"$http_x_forwarded_for"'; '"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main; access_log /var/log/nginx/access.log main;