mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #164] Cant load theme when using NGINX for Frontail #113
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dastrix80 on GitHub (May 3, 2019).
Original GitHub issue: https://github.com/mthenw/frontail/issues/164
Hi all
i still cant get this to run, it wont load the theme. Even trying the suggestions above
Can anyone assist?
}
location /frontail/ {
proxy_pass http://192.168.0.3:9001;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
@trebla commented on GitHub (Aug 25, 2019):
Hi @dastrix80 - I had similar problem and here is my solution to watch error & access log via nginx.
1. this is nginx configuration
nginx version: nginx/1.10.3 (Ubuntu)
`
#error log
location = /frontaile {
return 301 /frontaile/;
}
`
2. I have 2 shell scripts:
For error log
~/frontaile.sh
`
#!/bin/bash
/usr/local/bin/frontail --disable-usage-stats -U [NAME] -P [PASSWORD] -p 28404 --url-path /frontaile /var/log/nginx/error.log
`
For access log
~/frontaila.sh
`
#!/bin/bash
/usr/local/bin/frontail --disable-usage-stats -U [NAME] -P [PASSWORD] -p 28200 --url-path /frontaila /var/log/nginx/error.log
`
3. Fles executable
chmod +x frontaile.sh
chmod +x frontaila.sh
4. Run files via pm2
pm2 start ~/frontaile.shpm2 start ~/frontaila.sh5. Restart nxinx and watch logs in browser
https://YOURDOMAIN/frontaile
https://YOURDOMAIN/frontaila