mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
Created Nginx (markdown)
parent
f969cd9d3b
commit
8fe0915a21
1 changed files with 12 additions and 0 deletions
12
Nginx.md
Normal file
12
Nginx.md
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue