Welcome! Log In Create A New Profile

Advanced

Trying to get a MODX site running

Posted by Showa 
Trying to get a MODX site running
October 17, 2012 03:57PM
Hello to you all,

I am trying to get a site running in NGINX. NGINX is running on Archlinux and I it is installed with php-fpm. PhpMyAdmin is running fine, but it looks if my site isnot loading css and js file. When I inspect the page I can see the files and the correct paths. I put the conf file for the site in a sites-available file. The conf file is attached, and it I got it from the MODX site http://rtfm.modx.com/display/revolution20/Nginx+Server+Config. You can see the site using this url: www.ceciliahandel.nl

Hopefully somebody can help me.

Ad.
Attachments:
open | download - cecilia.conf (1.4 KB)
Re: Trying to get a MODX site running
October 18, 2012 01:09PM
Problem solved! Found this and it did the trick.

Putting the include /etc/nginx/mime.types; under location / (instead of under http) solved the issue for me.



Edited 1 time(s). Last edit at 10/18/2012 01:10PM by Showa.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 179
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready