add nginx container
This commit is contained in:
@@ -7,11 +7,16 @@ server {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass laravel:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/laravel/public/index.php;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/crm/backend/public/index.php;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://nextjs:3106;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /notification {
|
||||
|
||||
Reference in New Issue
Block a user