Bluto Posted February 16, 2016 Author Posted February 16, 2016 Code has been updated adding an exemption to the css.php file which if not present causes the designers mode to display the site without css. https://gist.github.com/zeronug/a16b06fde32dbf0685a5 # Allow access to CSS file location ^~ /applications/core/interface/css/css.php { include /usr/local/nginx/conf/php.conf; allow all; } Also added better code for protecting the real admin directory. # Secure real admin directory # Replace /your_admin_renamed_directory/ with your renamed directory. location /your_admin_renamed_directory/ { auth_basic "Private"; auth_basic_user_file /usr/local/nginx/conf/htpasswd_admin_php; include /usr/local/nginx/conf/php.conf; allow 127.0.0.1; allow YOURIPADDRESS; deny all; }
OctoDev Posted June 17, 2016 Posted June 17, 2016 Uhm, so what do I use? I run centmin but quiet unsure on the config i should use (http) w/ cloudflare https - @Bluto
Bluto Posted June 17, 2016 Author Posted June 17, 2016 6 hours ago, Jimmy Gavekort said: Uhm, so what do I use? I run centmin but quiet unsure on the config i should use (http) w/ cloudflare https - @Bluto Not sure I understand what you mean. I created a vhost conf, you can use that as a template for you IPS forum. The vhost I created is for https.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.