readme file updates
This commit is contained in:
parent
d7e5f4be1d
commit
36b6e14060
1 changed files with 13 additions and 13 deletions
26
README.MD
26
README.MD
|
@ -26,19 +26,19 @@ You will need a reverse proxy server to publish to the outside world and handle
|
||||||
For example, in nginx:
|
For example, in nginx:
|
||||||
```
|
```
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name autoconfig.example.com;
|
server_name autoconfig.example.com;
|
||||||
ssl_certificate /path/to/certificate.file;
|
ssl_certificate /path/to/certificate.file;
|
||||||
ssl_certificate_key /path/to/certificate.key
|
ssl_certificate_key /path/to/certificate.key
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Server $host;
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_pass http://localhost:8010/;
|
proxy_pass http://localhost:8010/;
|
||||||
proxy_redirect http://localhsot:8010/ /;
|
proxy_redirect http://localhsot:8010/ /;
|
||||||
proxy_read_timeout 60s;
|
proxy_read_timeout 60s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
First run will create sample.ini files in the config directory. Copy these to config.ini and services.ini and configure them to your needs.
|
First run will create sample.ini files in the config directory. Copy these to config.ini and services.ini and configure them to your needs.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue