general clean up

This commit is contained in:
Mahmoud Zalt
2016-08-19 03:05:36 +03:00
parent dd48592d8b
commit e75da747a9
5 changed files with 11 additions and 28 deletions

View File

@ -1,5 +1,5 @@
server {
listen 80;
listen 80;
listen [::]:80;
#domain name
@ -11,7 +11,6 @@ server {
# This is the full path to your index file
index index.php index.html index.htm;
## serve imagecache files directly or redirect to drupal if they do not exist.
location ~* files/styles {
access_log off;
@ -43,7 +42,6 @@ server {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
location @rewrite {
# Some modules enforce no slash (/) at the end of the URL
# Else this rewrite block wouldn't be needed (GlobalRedirect)
@ -56,4 +54,4 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
}

View File

@ -3,7 +3,7 @@ server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name laravel;
server_name laravel;
root /var/www/laravel/public;
index index.php index.html index.htm;

View File

@ -3,7 +3,7 @@ server {
listen 80;
listen [::]:80;
server_name site_a;
server_name site_a;
root /var/www/site_a/public;
index index.php index.html index.htm;