mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 16:55:59 +03:00
[GH-ISSUE #77] SSL support #56
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#56
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 @chrisb86 on GitHub (Mar 30, 2014).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/77
I would like to see SSL support.
I don't run my server in my local network and transmitting data unencrypted is something I don't want. If I configure nginx to rewrite all requests to https, neither the scripts, css etc. nor the images are loaded so vimbadmin is nearly unusable.
Please add an option to force SSL connections and rewrite the links and asset urls to https. #SSL #HTTPS
@barryo commented on GitHub (Mar 31, 2014):
More for people who stumble on this ticket and think ViMbAdmin has no SSL support: generally speaking, SSL support has nothing to do with ViMbAdmin and everything to do with your web browser.
SSL just works on Apache. If the request comes in via a URL beginning
https://then all URLs are created likewise. Apache just needs a redirect on non-SSL requests such as:This is all handled by:
https://github.com/opensolutions/OSS-Framework/blob/master/src/OSS/Utils.php#L194
You'll note here that it keys off
$_SERVER['HTTP_HOST']- I'm not sure how this translates to nginx?An alternate option to the above dynamic / just works on Apache is to set the host option in the
application/configs/application.inifile such as:As this is not a ViMbAdmin issue, I'm closing this ticket but:
@chrisb86 commented on GitHub (Mar 31, 2014):
This did the job.
It was no problem to rewrite the URLs to https. But the scripts, images and css files URLs weren't rewritten. It works now.
This is what I use in my nginx config.
Thank you!
@barryo commented on GitHub (Apr 19, 2014):
Thanks for the feedback. I added a page to the documentation on this:
https://github.com/opensolutions/ViMbAdmin/wiki/SSL-Support