vault backup: 2024-08-26 00:35:59

This commit is contained in:
tuska298 2024-08-26 00:35:59 +09:00
parent 31879da74c
commit c9ce0ae737
3 changed files with 28 additions and 13 deletions

View File

@ -11,11 +11,10 @@
"id": "b441e35062a39cb4", "id": "b441e35062a39cb4",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "diff-view",
"state": { "state": {
"file": "Home Server/Network/DNS/Domain.md", "file": "Home Server/Network/nginx for reverse proxy.md",
"mode": "source", "staged": false
"source": true
} }
}, },
"group": "d1fb0956c6dbe2c1" "group": "d1fb0956c6dbe2c1"
@ -30,10 +29,11 @@
"id": "91fb38d5658db1d5", "id": "91fb38d5658db1d5",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "diff-view", "type": "markdown",
"state": { "state": {
"file": ".obsidian/workspace.json", "file": "Home Server/Gitea.md",
"staged": false "mode": "preview",
"source": true
} }
}, },
"group": "d1fb0956c6dbe2c1" "group": "d1fb0956c6dbe2c1"
@ -169,17 +169,17 @@
"command-palette:명령어 팔레트 열기": false "command-palette:명령어 팔레트 열기": false
} }
}, },
"active": "91fb38d5658db1d5", "active": "b441e35062a39cb4",
"lastOpenFiles": [ "lastOpenFiles": [
"Home Server/Network/DNS/Domain.md", "Home Server/Gitea.md",
"Home Server/Network/nginx for reverse proxy.md", "Home Server/Network/nginx for reverse proxy.md",
"Home Server/docker compose - temp.md",
"Home Server/Network/DNS/Domain.md",
"linux/Network Interfaces.md", "linux/Network Interfaces.md",
"linux/network stat.md", "linux/network stat.md",
"Home Server/Network/DNS/DNS.md", "Home Server/Network/DNS/DNS.md",
"Home Server/Network/DNS/CoreDNS.md", "Home Server/Network/DNS/CoreDNS.md",
"Home Server/Gitea.md",
"linux/dig.md", "linux/dig.md",
"Home Server/docker compose - temp.md",
"Home Server/Network/DNS", "Home Server/Network/DNS",
"Home Server/Network", "Home Server/Network",
"linux/RAID.md", "linux/RAID.md",

View File

@ -53,7 +53,22 @@ service:
``` ```
## Reverse Proxy ## Reverse Proxy
/nginx/conf.d/locations/gitea.conf 파일 수정
### /nginx/nginx.conf
size 제한으로 인해 push에 실패할 수 있는 현상을 수정하기 위해 제한을 없앰
```nginx
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_max_body_size 0;
...
}
```
### /nginx/conf.d/gitea.conf
```nginx ```nginx
location /git { location /git {
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;

View File

@ -88,5 +88,5 @@ server {
## reload ## reload
```shell ```shell
docker exec -it webserver4 nginx -s reload docker exec -it nginx-reverse-proxy nginx -s reload
``` ```