2024-09-04 17:48:40 -05:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
2024-09-09 15:12:51 -05:00
|
|
|
server_name _;
|
2024-09-04 17:48:40 -05:00
|
|
|
|
2025-01-29 22:53:32 -06:00
|
|
|
root /var/app/public;
|
2024-09-04 17:48:40 -05:00
|
|
|
index index.php index.html index.htm;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
|
|
|
}
|
2024-09-09 15:39:30 -05:00
|
|
|
|
2024-09-04 17:48:40 -05:00
|
|
|
location ~ \.php$ {
|
|
|
|
|
include fastcgi_params;
|
2024-09-09 15:39:30 -05:00
|
|
|
fastcgi_param HTTPS $http_x_forwarded_proto;
|
2024-09-04 17:48:40 -05:00
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
2025-01-25 18:09:02 -06:00
|
|
|
fastcgi_pass 127.0.0.1:9000;
|
2024-09-04 17:48:40 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~ /\.ht {
|
|
|
|
|
deny all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
|
access_log /var/log/nginx/access.log;
|
|
|
|
|
}
|