Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
12 lines (12 loc) · 3.47 KB
/
Copy pathindex.html
File metadata and controls
12 lines (12 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
<!--
============================================================
Author : Mohammed Alotaibi
Website : https://motaibi1989.com
GitHub : https://github.com/Motaibi1989
============================================================
-->
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="author" content="Mohammed Alotaibi"><title>Nginx Reverse Proxy Guide</title><meta name="description" content="Beginner-friendly and production-focused Nginx reverse proxy documentation, commands, testing, troubleshooting, and systemd examples."><link rel="stylesheet" href="assets/style.css"></head><body><header><div class="topbar"><a class="brand" href="index.html">Nginx Reverse Proxy</a><nav class="nav"><a href="docs/installation.html">Installation</a><a href="docs/linux-commands.html">Commands</a><a href="docs/troubleshooting.html">Testing</a><button class="theme" data-theme-toggle aria-label="Toggle theme">☾</button></nav></div></header><section class="hero"><div class="hero-inner"><div class="eyebrow">Learn • Configure • Test • Troubleshoot</div><h1>Nginx Reverse Proxy</h1><p class="lead">A practical guide for beginners and experienced Linux administrators. Learn the basics, deploy a reverse proxy, validate configurations, read errors, test backends, and use a hardened custom systemd service.</p><div class="actions"><a class="btn primary" href="docs/installation.html">Start learning</a><a class="btn" href="docs/troubleshooting.html">Test and troubleshoot</a><a class="btn" href="https://github.com/Motaibi1989/Nginx-Reverse-Proxy">View on GitHub</a></div></div></section><div class="layout"><aside class="sidebar"><strong>Documentation</strong><a href="docs/installation.html">Installation</a><a href="docs/reverse-proxy.html">Reverse Proxy</a><a href="docs/linux-commands.html">Linux Commands</a><a href="docs/systemd.html">Custom systemd</a><a href="docs/troubleshooting.html">Testing & Errors</a></aside><main><section class="card"><h2>Choose your path</h2><div class="grid"><article class="topic"><h3>Beginner</h3><p>Install Nginx, understand the main files, create a first reverse proxy, test the configuration, and manage the service.</p></article><article class="topic"><h3>Advanced</h3><p>Use a custom <code>/Nginx</code> layout, hardened systemd controls, graceful reloads, high connection limits, and structured diagnostics.</p></article></div></section><section class="card"><h2>Fast health check</h2><pre><code>sudo nginx -t
sudo systemctl status nginx
sudo journalctl -u nginx -n 100 --no-pager
ss -tlnp | grep nginx
curl -I http://localhost</code></pre><div class="success"><strong>Good result:</strong> configuration test successful, service active, ports listening, and an HTTP response returned.</div></section><section class="card"><h2>Repository examples</h2><div class="grid"><article class="topic"><h3>Basic reverse proxy</h3><p>A small server block that forwards traffic to an application on port 8080.</p><p><a href="examples/basic-reverse-proxy.conf">Open configuration</a></p></article><article class="topic"><h3>Custom Nginx service</h3><p>Your production-focused systemd unit for a custom <code>/Nginx</code> configuration path.</p><p><a href="examples/nginx-custom.service">Open service file</a></p></article></div></section></main></div><footer>Maintained by <a href="https://motaibi1989.com">Mohammed Alotaibi</a> • Nginx learning and operations reference</footer><script src="assets/app.js"></script></body></html>