alr fixes
This commit is contained in:
parent
0d43e62320
commit
369eacc8c3
2 changed files with 5 additions and 4 deletions
|
@ -3,4 +3,5 @@
|
||||||
# copy server files
|
# copy server files
|
||||||
cp -r /custom/vhost.d/* /etc/nginx/vhost.d
|
cp -r /custom/vhost.d/* /etc/nginx/vhost.d
|
||||||
cp -r /custom/conf.d/* /etc/nginx/conf.d
|
cp -r /custom/conf.d/* /etc/nginx/conf.d
|
||||||
cp -r /custom/error_pages/* /usr/share/nginx/html
|
|
||||||
|
mv /custom/error_pages /usr/share/nginx/html/errors
|
|
@ -294,9 +294,9 @@ server {
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ $globals.access_log }}
|
{{ $globals.access_log }}
|
||||||
|
|
||||||
error_page 503 /50x.html;
|
error_page 503 /503.html;
|
||||||
location = /50x.html {
|
location = /503.html {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html/errors;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
return 503;
|
return 503;
|
||||||
|
|
Reference in a new issue