This commit is contained in:
ayrelia1 2024-07-29 14:23:51 +03:00
parent d2f13150e3
commit 1c1647103b
2 changed files with 13 additions and 2 deletions

View File

@ -39,5 +39,16 @@ services:
- .:/app
- ./logs:/app/logs
nginx:
image: nginx:latest
restart: always
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- site
volumes:
postgres-data:

View File

@ -9,10 +9,10 @@ events {
http {
server {
listen 80;
server_name fckngdev.space;
server_name localhost;
location / {
proxy_pass http://87.251.87.90:8004/;
proxy_pass http://site:8004/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;