§2024-05-08
reverse proxy configuration as mentioned below
server { listen 80; server_name example.com *.example.com;
access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;
location / {
proxy_pass http://127.0.0.1:5001;
} }
For example:
The front end taking care of user's request is https://munetaka.me:42103, and backend server we have
please write a reverse proxy config file
Return to Top