Home
Notes
Projects
Resume
Contact
Jeff Smith
Notes
Projects
Resume
Contact
Simple nginx domain redirect
Linux
nginx
<p>Add to server block...</p> <pre><code>if ($host = example1.com) { return 301 https://example2.com$request_uri; } </code></pre>
© 2026 Code0x378