Commit 635fcfe1 authored by Owain Jones's avatar Owain Jones
Browse files

make nginx respond by default with the production gliders website

parent f6bfa9b6
......@@ -14,9 +14,10 @@ map $host $symfony_root_dev {
}
server {
listen 80;
listen 80 default_server;
server_name _ gliders.*;
server_name gliders.*;
root $symfony_root/web;
error_log /var/log/nginx/gliders.error.log;
......
......@@ -48,24 +48,24 @@ http {
# for more information.
include /etc/nginx/conf.d/*.conf;
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
# server {
# listen 80 default_server;
# listen [::]:80 default_server;
# server_name _;
# root /usr/share/nginx/html;
#
# # Load configuration files for the default server block.
# include /etc/nginx/default.d/*.conf;
#
# location / {
# }
#
# error_page 404 /404.html;
# location = /40x.html {
# }
#
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# }
# }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment