Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name localhost;
- error_log /var/log/nginx/error.log;
- access_log /var/log/nginx/access.log;
- location /auth/ {
- error_log /var/log/nginx/auth_error.log;
- access_log /var/log/nginx/auth_access.log;
- alias /var/www/auth-service/public/;
- index index.php;
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME /var/www/auth-service/public/index.php;
- }
- }
- location /graphgl-getaway/ {
- error_log /var/log/nginx/graphql_getaway_error.log;
- access_log /var/log/nginx/graphql_getaway_access.log;
- alias /var/www/auth-service/public/;
- index index.php;
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME /var/www/auth-service/public/index.php;
- }
- }
- location /test/ {
- alias /var/www/html/;
- index index.html;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement