반응형 nginx location try_files1 nginx location 정규식 적용 nginx try_files 구문 nginx.org/en/docs/http/ngx_http_core_module.html#try_files server { listen 80; server_name karint.me; location ~ ^/public/css/(.+)$ { root c:/work/source/karint/web/src/main/resources/public/css; try_files /public/css/$1 /public/$1 /$1 =404; } location ~ ^/public/(.+)/(.+)$ { root c:/work/source/karint/web/src/main/resources/public/; try_files /public/$1/$2 /public/$1/common/$.. 2021. 1. 14. 이전 1 다음 반응형