2014-08-26 00:19:25 +02:00
|
|
|
server {
|
2014-11-15 00:50:14 +01:00
|
|
|
listen 80 default_server;
|
2015-01-31 07:47:41 +01:00
|
|
|
listen [::]:80 default_server;
|
2014-08-26 00:19:25 +02:00
|
|
|
|
|
|
|
root /var/www/wordpress; #/usr/share/nginx/html;
|
|
|
|
index index.php index.html index.htm;
|
|
|
|
|
|
|
|
# Make site accessible from http://localhost/
|
|
|
|
# server_name *.hamburg.freifunk.net;
|
|
|
|
|
|
|
|
return 302 http://hamburg.freifunk.net;
|
|
|
|
|
|
|
|
# location ~ \.php$ {
|
|
|
|
# fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
|
|
# fastcgi_index index.php;
|
|
|
|
# fastcgi_param SCRIPT_FILENAME /var/www/default$fastcgi_script_name;
|
|
|
|
# include /etc/nginx/fastcgi_params;
|
|
|
|
# }
|
|
|
|
}
|
2015-01-31 07:47:41 +01:00
|
|
|
|
|
|
|
#server {
|
|
|
|
# listen 80 default_server;
|
|
|
|
# listen [::]:80 default_server;
|
|
|
|
#
|
|
|
|
# root /var/www/wordpress; #/usr/share/nginx/html;
|
|
|
|
# index index.php index.html index.htm;
|
|
|
|
#
|
|
|
|
# # Make site accessible from http://localhost/
|
|
|
|
## server_name *.hamburg.freifunk.net;
|
|
|
|
#
|
|
|
|
# return 302 http://hamburg.freifunk.net;
|
|
|
|
#
|
|
|
|
## location ~ \.php$ {
|
|
|
|
## fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
|
|
## fastcgi_index index.php;
|
|
|
|
## fastcgi_param SCRIPT_FILENAME /var/www/default$fastcgi_script_name;
|
|
|
|
## include /etc/nginx/fastcgi_params;
|
|
|
|
## }
|
|
|
|
#}
|