Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Nginx Reverse Proxy

A beginner-friendly and production-focused Nginx reverse proxy guide with practical Linux commands, configuration examples, testing steps, troubleshooting guidance, and a hardened custom systemd service.

Documentation

Examples

Repository structure

.
├── README.md
├── docs/
│   ├── installation.md
│   ├── reverse-proxy.md
│   ├── linux-commands.md
│   ├── systemd.md
│   └── troubleshooting.md
└── examples/
    ├── basic-reverse-proxy.conf
    └── nginx-custom.service

Quick start

sudo nginx -t
sudo systemctl status nginx
sudo journalctl -u nginx -n 100 --no-pager
curl -I http://localhost

Recommended workflow

  1. Install Nginx.
  2. Test the backend application directly.
  3. Add the reverse proxy configuration.
  4. Run sudo nginx -t.
  5. Reload Nginx only after the test succeeds.
  6. Check logs and connectivity when an error occurs.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages