Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
fix Nginx proxy_pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerder authored Mar 16, 2017
1 parent c5f3db0 commit 9145375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/etc/nginx/sites-available/graphite.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ server {
proxy_connect_timeout 10;
proxy_read_timeout <%= scope.lookupvar('graphite::nginx_proxy_read_timeout') %>;

proxy_pass http://<%= scope.lookupvar('graphite::gunicorn_bind') %>:/;
proxy_pass http://<%= scope.lookupvar('graphite::gunicorn_bind') %>;

<% if scope.lookupvar('graphite::gr_web_cors_allow_from_all') %>
add_header Access-Control-Allow-Origin "*";
Expand Down

0 comments on commit 9145375

Please sign in to comment.