{"body": "
\n

# Running behind reverse proxy\u00b6

\n

To run Flower behind a reverse proxy, remember to set the correct Host\nheader to the request to make sure Flower can generate correct URLs.\nThe following is a minimal nginx configuration:

\n

    server {\n    listen 80;\n    server_name flower.example.com;\n    charset utf-8;\n\n    location / {\n        proxy_pass http://localhost:5555;\n        proxy_set_header Host $host;\n        proxy_redirect off;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection "upgrade";\n    }\n}\n

\n
\n

Note that you should not expose this site to the public internet without\nany sort of authentication! If you have a htpasswd file with user\ncredentials you can make nginx use this file by adding the following\nlines to the location block:

\n

    auth_basic "Restricted";\nauth_basic_user_file htpasswd;\n

\n
\n
\n", "alabaster_version": "0.7.7", "display_toc": false, "title": "Running behind reverse proxy", "sourcename": "reverse-proxy.txt", "customsidebar": null, "metatags": "", "current_page_name": "reverse-proxy", "next": {"link": "../docker/", "title": "Docker Usage"}, "rellinks": [["docker", "Docker Usage", "N", "next"], ["auth", "Authentication", "P", "previous"]], "meta": {}, "parents": [], "sidebars": ["sidebarlogo.html", "localtoc.html", "relations.html", "sourcelink.html", "searchbox.html"], "toc": "

\n
- Running behind reverse proxy
\n

\n", "prev": {"link": "../auth/", "title": "Authentication"}, "page_source_suffix": ".rst"}