Jump to content

IPS4 on CENTMIN MOD / vhost Creation

Recommended Posts

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.


# 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 YOURIPADDRESS;
        deny all;


Link to comment
Share on other sites

  • 4 months later...
  • Replies 52
  • Created
  • Last Reply
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.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...