X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=nginx-configs%2FREADME;fp=nginx-configs%2FREADME;h=1c6ade5fe3bac4163a2b0a2cbd3e8a4e79bb38a6;hb=2b1bc7ec5ad99de2040402d79fd83c69271a6dde;hp=0000000000000000000000000000000000000000;hpb=ed21599957130173a661904f22e50af59a96a6ac;p=matches%2FMCTX3420.git diff --git a/nginx-configs/README b/nginx-configs/README new file mode 100644 index 0000000..1c6ade5 --- /dev/null +++ b/nginx-configs/README @@ -0,0 +1,18 @@ +This folder represents the files that should be placed under: +/etc/nginx + +To install: +* Delete all files under /etc/nginx/sites-enabled +* Either: + * Copy 'mctxconfig' (under sites-enabled) to /etc/nginx/sites-available/ + and create a symlink to that file under /etc/nginx/sites-enabled/ + * Create a symlink directly from 'mctxconfig' to + /etc/etc/nginx/sites-enabled/ +* Replace /etc/nginx/fastcgi_params and /etc/nginx/mime.types with the + provided files (either by copying or symlinking) + +Note: +To get the login functionality working, you need to place a .htpasswd file +under /usr/share/nginx/access (create folder if it doesn't exist). To generate +the htpasswd file, install the apache2-utils package and use the 'htpasswd' +executable.