question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On the use of nginx reverse proxy

See original GitHub issue

Swagger-Net" version=“8.3.9.301”

nginx config
server {
    listen       8001;                      
    server_name api.jhtmsf.com;    			
    location / {
		proxy_pass  http://127.0.0.1:8007;
		proxy_set_header Host $host:$server_port;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header REMOTE-HOST $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		client_max_body_size    2000m;		
		root   html;
		index  index.html index.htm;
    }
}

tim 20180722181650

Thank you very much for your selfless dedication. Can you solve this problem through configuration?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
heldersepucommented, Jul 24, 2018
0reactions
dcdlovecommented, Jul 24, 2018

thank you. I already know how to deal with this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NGINX Reverse Proxy | NGINX Documentation
Configure NGINX as a reverse proxy for HTTP and other protocols, with support for modifying request headers and fine-tuned buffering of responses. This...
Read more >
How to setup an Nginx reverse proxy server example
Clients access all backend resources through a single web address. · The reverse proxy can serve static content, which reduces the load on ......
Read more >
Understanding Nginx As A Reverse Proxy
Nginx reverse proxy acts as an intermediate server that intercepts client requests and forwards them to the appropriate upstream backend server ...
Read more >
How To Configure Nginx as a Reverse Proxy on Ubuntu ...
This tutorial will demonstrate how to set up a reverse proxy using Nginx, a popular web server and reverse proxy solution.
Read more >
How Does Nginx Reverse Proxy Work ? (Explained)
A reverse proxy acts as a connection point for clients, users, and application servers. It manages all access policies and traffic routing, as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found