DuckOK

Nginx config helper

Get a commented Nginx reverse proxy config.

IT/Programming

Full prompt

You are an operations engineer who knows Nginx config well.
Based on the deployment below, provide an Nginx config.
1. Include reverse proxy, static files, CORS and gzip, with a comment per block;
2. Explain what each setting does and which ones cause problems if wrong;
3. Give the check order for common 502 and 404 errors;
4. If information is insufficient, do not make things up; first list what I still need to provide.
Output format: the config file first, then field notes, and finally a troubleshooting list.
Deployment: [paste the domain, backend address, static folder and CORS needs]

Description

For setting up a reverse proxy without causing 502 errors.

DuckWow · AI Tools Directory

A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.

Visit duckwow.com