mirror of
https://codeberg.org/postscriptum/gemlog.git
synced 2026-02-18 22:12:40 +00:00
fix config examples
This commit is contained in:
parent
40a920ae72
commit
037496b2bd
1 changed files with 6 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ sudo systemctl enable --now radicle-httpd
|
|||
|
||||
### Nginx
|
||||
|
||||
Сервіс вище "слухатиме" на локальному сокеті `[::1]:8788`, на який потрібно перекинути публічний проксі Nginx. Важливо в `proxy_pass` вказати слеш у якості кореню, інакше буде помилка.
|
||||
Сервіс вище "слухатиме" на локальному сокеті `[::1]:8788`, на який потрібно перекинути публічний проксі Nginx:
|
||||
|
||||
``` /etc/nginx/sites-available/default
|
||||
server {
|
||||
|
|
@ -97,7 +97,7 @@ server {
|
|||
access_log /var/log/nginx/radicle.access.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://[::1]:8788/;
|
||||
proxy_pass http://[::1]:8788;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
@ -203,7 +203,10 @@ server {
|
|||
|
||||
access_log /var/log/nginx/radicle.access.log;
|
||||
root /var/www/radicle;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue