VZ
Size: a a a
VZ
AG
VZ
V
VZ
AG
VZ
VZ
VZ
location /foo {```
rewrite /foo/(.*) /$1 break;
proxy_pass http://localhost:3200;
proxy_redirect off;
proxy_set_header Host $host;
}
VZ
VZ
VZ
АП
AN
location ~ ^/api/(.+)$ {
proxy_pass http://api/$1 ;
}
AG
АН
server {
listen 667 ssl;
server_name _;
root /var/www/html/sites/help/public/;
include conf.d/default_ssl.include;
location / {
index index.php
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
}
2020/06/01 15:00:32 [error] 18720#18720: *7 open() "/var/www/html/sites/help/public/api/v1/companies" failed (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET //api/v1/companies HTTP/1.1", host: "
******"
V
location ~ ^/api/(.+)$ {
proxy_pass http://api/$1 ;
}
VZ
server {
listen 667 ssl;
server_name _;
root /var/www/html/sites/help/public/;
include conf.d/default_ssl.include;
location / {
index index.php
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
}
2020/06/01 15:00:32 [error] 18720#18720: *7 open() "/var/www/html/sites/help/public/api/v1/companies" failed (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET //api/v1/companies HTTP/1.1", host: "
******"
VZ
АН