totof74 Posted October 27, 2017 Share #1 Posted October 27, 2017 Hi all, Here's my configuration : motherboard : Asrock CD2550D4I RAM 6Go Disks : 1x500GB (APPS) / 3TB (DATA) / RAID1 : 2x2TB (CRITICAL DATA) PACKAGES INSTALLED : Antivirus Essential Apache HTTP Server 2.2 Directory Server DNS Server File Station Mail Server Mail Station MariaDB 5 / MariaDB 10 PHP 5.6 / PHP 7 phpMyAdmin Universal Search WEB Station (and few others) On this server I was hosted a website, accessible via : http://x.x.x.x/lbc (http 80) at the following local path : "/volume1/web/lbc" Everything was running fine under DSM 5.2. But theses times, I had some problems at startup (probably problems with my USB Key) Has I was already interested in moving to DSM 6, I decided to migrate and change the USB Key. The migration was successful, and I updated all apps and installed latest patch of DSM : DSM 6.1.3-15152 Update 8 But I had some problems to access the website configured on the server. Everything I tried was sold by "http 500" error. I tried to uninstall/reinstall Webstation (even with removing "web" directory, for it to be recreated). I made some modification to nginx.conf trying to add location for lbc site, but nothing as changed. I tried to had virtual host but with no results, and I'm not sure it's necessary. I tried to reapply rights on /volume1/web with 755 for directory and 644 for files, no results. Finally, the situation is now worth than before (I probably made a mistake somewhere). All sites (lbc, mail station, phpmyadmin, ...) are unaccessible because everything is redirected to http://x.x.x.x:5000 (syno GUI). I tried to reinstall the system from a new usb key (changing MAC and SN) with no results. can anybody help me, please? Thank's Quote Link to comment Share on other sites More sharing options...
totof74 Posted October 27, 2017 Author Share #2 Posted October 27, 2017 I just removed www.lbc.conf file that I have added before, and I know have my http error back. But not a 500 one, a 502... My www.lbc.conf file was not appropriate but I don't know what was wrong. I created it adapting phpMyAdmin one's. Can anyone can tell? Here is the file: location ^~ /lbc/ { fastcgi_read_timeout 300; root /var/services/web; include /etc/nginx/conf.d/php.conf; include /etc/nginx/conf.d/cache.conf; location ~ ^/lbc/(.*)/\. { deny all; } location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { expires max; log_not_found off; } location ~ \.php$ { include fastcgi.conf; fastcgi_pass unix:/run/php-fpm/php56-fpm.sock; } } location = /lbc { fastcgi_read_timeout 300; root /var/services/web; try_files $uri/ /lbc/index.php$is_args$args; } Thank's for your help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.