diff --git a/Nginx.md b/Nginx.md new file mode 100644 index 0000000..899e983 --- /dev/null +++ b/Nginx.md @@ -0,0 +1,12 @@ +``` default +server { + listen 80; + + location / { + proxy_pass http://127.0.0.1:8000; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + } +} +``` +* [read more](https://rocket.rs/guide/v0.5/deploying/#deploying) \ No newline at end of file