28 lines
653 B
Plaintext
28 lines
653 B
Plaintext
server {
|
|
server_name localhost;
|
|
listen 7700;
|
|
root /web/backend/public;
|
|
index index.htm index.html index.php;
|
|
location / {
|
|
proxy_bind 127.0.0.1;
|
|
proxy_pass http://localhost:4200;
|
|
}
|
|
location /api/ {
|
|
try_files $uri $uri/ /index.php/$uri?$query_string;
|
|
}
|
|
location /coverage/ {
|
|
alias /web/coverage/html-coverage/;
|
|
index index.html;
|
|
}
|
|
location /pgadmin4/ {
|
|
include proxy_params;
|
|
proxy_bind 127.0.0.1;
|
|
proxy_pass http://localhost:80;
|
|
proxy_set_header X-Script-Name /pgadmin4;
|
|
}
|
|
proxy_intercept_errors on;
|
|
fastcgi_intercept_errors on;
|
|
fastcgi_hide_header X-Powered-By;
|
|
include "php80.conf";
|
|
}
|