Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May there have a nginx example for proxy this service? #151

Closed
abserari opened this issue Oct 13, 2019 · 1 comment
Closed

May there have a nginx example for proxy this service? #151

abserari opened this issue Oct 13, 2019 · 1 comment

Comments

@abserari
Copy link

No description provided.

@tonymadbrain
Copy link

tonymadbrain commented Dec 13, 2019

You can use something like:

server {
  server_name  mywiki.org;
  listen       80;

  location / {
    add_header Cache-Control   "no-cache, no-store, must-revalidate";
    add_header Pragma          no-cache;
    add_header Expires         0;
    proxy_set_header Host      $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_pass                 http://127.0.0.1:8050;
  }
}

@abserari abserari closed this as completed Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants