Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
635fcfe1
Commit
635fcfe1
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
make nginx respond by default with the production gliders website
parent
f6bfa9b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
22 deletions
+23
-22
gliders.nginx.conf
gliders.nginx.conf
+3
-2
nginx.conf
nginx.conf
+20
-20
No files found.
gliders.nginx.conf
View file @
635fcfe1
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
nginx.conf
View file @
635fcfe1
...
...
@@ -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 {
#
}
#
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment