Skip to content

Commit

Permalink
修复nginx配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
19950219 committed Dec 30, 2021
1 parent 01b273b commit 369df2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhost/template/nginx/java_http.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ server
proxy_cache_purge cache_one {host}$request_uri$is_args$args;
}}

location ~^{api_url} {{
location {api_url} {{
proxy_pass {url};
proxy_set_header Host {host};
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit 369df2e

Please sign in to comment.