This commit is contained in:
parent
b5a2a47a76
commit
e9a277968f
@ -2,7 +2,8 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
server_name siska.appstaging.my.id;
|
server_name siska.appstaging.my.id;
|
||||||
|
|
||||||
|
# Ensure this matches your actual document root
|
||||||
root /var/www/public;
|
root /var/www/public;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
@ -12,12 +13,12 @@ server {
|
|||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_pass sistem-akademik-dev:9000;
|
fastcgi_pass sistem-akademik-dev:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
include fastcgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user