mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 10:15:52 +03:00
[GH-ISSUE #143] Nginx works with frontail on http but not on https #101
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#101
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 @hamwong on GitHub (Oct 17, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/143
Nginx works with frontail on http but not on https, as browser will report "too many redirect eroor" when Nginx connect to frontail https, frontail https without ngix also fine, can this be fixed?
@mthenw commented on GitHub (Oct 17, 2018):
Can you paste your nginx configuration?
@hamwong commented on GitHub (Oct 20, 2018):
below code only changed server name and SSL location, SSL is register by letsencrypt
`worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
server {
listen 443 ssl;
server_name www.XXYYZZ.com;
}`
@pacive commented on GitHub (Oct 21, 2018):
I had the same problem, the solution was to use
location /frontail {instead of
location /frontail/ {I however, have a different issue using https. I get an error in chrome:
What's strange is that the
Content-type-header is set toapplication/javascriptwhen loading over http, buttext/htmlwhen loading over https. I believe this error is because of nginx though..Edit:
This was also because of a
/too much: usinginstad of
solved it!
@hamwong commented on GitHub (Oct 21, 2018):
Thank you @pacive, it works!! unblievable.
@mthenw commented on GitHub (Oct 21, 2018):
Thanks @pacive for the help.