Browse Source

fix config file

master
Nicolas Massé 7 years ago
parent
commit
f29c4cc340
  1. 13
      Nginx-S2I-Image/nginx.conf

13
Nginx-S2I-Image/nginx.conf

@ -39,23 +39,10 @@ http {
server {
listen 8080 default_server;
listen [::]:8080 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
return 301 http://openshift.com;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
}

Loading…
Cancel
Save