SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0018171ClearOSapp-web-server - Web Serverpublic2017-12-09 06:462021-01-18 04:17
ReporterNickH 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.4.0 
Target VersionFixed in Version 
Summary0018171: Add a Web Server configuration to force https
DescriptionIt would be nice to have another dropdown in the website configuration screen to force traffic to https. I don't know if this is the right code, but from this thread, https://www.clearos.com/clearfoundation/social/community/https-redirect#, [^] you can then drop:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [^] [R,L]

into the flex-80.conf file.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0015161)
NickH (developer)
2021-01-18 04:17

Migrated to https://gitlab.com/clearos/clearfoundation/app-web-server/-/issues/15 [^]

- Issue History
Date Modified Username Field Change
2017-12-09 06:46 NickH New Issue
2018-02-20 18:21 user2 Assigned To => user2
2018-02-20 18:21 user2 Status new => confirmed
2018-12-14 12:10 user2 Status confirmed => assigned
2018-12-14 12:10 user2 Assigned To user2 => tracker
2021-01-18 04:17 NickH Note Added: 0015161
2021-01-18 04:17 NickH Status assigned => closed
2021-01-18 04:17 NickH Assigned To tracker =>
2021-01-18 04:17 NickH Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7