Compare commits
2 commits
66206fa64a
...
2107cc6aef
| Author | SHA1 | Date | |
|---|---|---|---|
| 2107cc6aef | |||
| d54bba4c59 |
1 changed files with 4 additions and 1 deletions
|
|
@ -11,6 +11,8 @@
|
||||||
server = {
|
server = {
|
||||||
ROOT_URL = "https://git.${domainName}/";
|
ROOT_URL = "https://git.${domainName}/";
|
||||||
PROTOCOL = "http";
|
PROTOCOL = "http";
|
||||||
|
HTTP_ADDR = "127.0.0.1";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
DOMAIN = "git.${domainName}";
|
DOMAIN = "git.${domainName}";
|
||||||
SSH_PORT = 2222;
|
SSH_PORT = 2222;
|
||||||
START_SSH_SERVER = true;
|
START_SSH_SERVER = true;
|
||||||
|
|
@ -36,7 +38,8 @@
|
||||||
'';
|
'';
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:3000";
|
proxyPass = "http://127.0.0.1:3000";
|
||||||
|
recommendedProxySettings = false;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue