mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
727f7a100d
commit
d058b92e51
@ -36,4 +36,21 @@ mysql:
|
||||
restart: always
|
||||
```
|
||||
|
||||
## /etc/nginx/sites-enabled/discuz
|
||||
|
||||
```
|
||||
server {
|
||||
listen 80;
|
||||
server_name discuz.datageek.info;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
> :warning: You should pass HTTP headers to fix wrong URL.
|
||||
|
||||
[1]: http://www.discuz.net
|
||||
|
Loading…
Reference in New Issue
Block a user