Refactor nginx.conf for cleaner configuration
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /app/public;
|
||||
index index.php index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
@@ -17,4 +12,3 @@ server {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user