parent
d858b8b33e
commit
5ac6d34e00
|
@ -76,7 +76,7 @@ services:
|
|||
- ./docker/nginx/conf.d:/etc/nginx/conf.d
|
||||
- ./docker/nginx/conf.d.templates:/etc/nginx/templates
|
||||
- ./docker/nginx/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf
|
||||
- ./docker/data/website/public/errors:/etc/nginx/errors
|
||||
- ./docker/data/website/public:/etc/nginx/public
|
||||
networks:
|
||||
shared:
|
||||
ipv4_address: 10.10.10.30
|
||||
|
|
|
@ -37,12 +37,12 @@ proxy_set_header User-Agent: Sia-Agent;
|
|||
|
||||
proxy_pass http://sia:9980/skynet/skylink/$skylink$path$is_args$args;
|
||||
|
||||
error_page 400 /etc/nginx/errors/400/index.html;
|
||||
error_page 401 /etc/nginx/errors/401/index.html;
|
||||
error_page 403 /etc/nginx/errors/403/index.html;
|
||||
error_page 404 /etc/nginx/errors/404/index.html;
|
||||
error_page 451 /etc/nginx/errors/451/index.html;
|
||||
error_page 500 /etc/nginx/errors/500/index.html;
|
||||
error_page 400 /etc/nginx/public/errors/400/index.html;
|
||||
error_page 401 /etc/nginx/public/errors/401/index.html;
|
||||
error_page 403 /etc/nginx/public/errors/403/index.html;
|
||||
error_page 404 /etc/nginx/public/errors/404/index.html;
|
||||
error_page 451 /etc/nginx/public/errors/451/index.html;
|
||||
error_page 500 /etc/nginx/public/errors/500/index.html;
|
||||
|
||||
log_by_lua_block {
|
||||
local skynet_account = require("skynet.account")
|
||||
|
|
Reference in New Issue