Welcome! Log In Create A New Profile

Advanced

PHP inside .html

Posted by Gnetwork 
PHP inside .html
February 19, 2015 10:52PM
Hi, i know there ar some Threads about that issue, i seeked now on several Sites and Forums (Also this) i now tried nearly every combination but mostly i yust get a Bad Gateway message.

What i trie to do is to migrate from Apache my directives to nginx. Before Nginx i used AddType application/x-httpd-php .html
I don't know why but i can't get this running with a smilar code and i really tried hard to add all code ideas that i had found.

This is my current clean config
http://pastebin.com/1kzaDUzd



Edited 1 time(s). Last edit at 02/19/2015 10:57PM by Gnetwork.
Re: PHP inside .html
February 21, 2015 06:11AM
Can be closed, i gave finally up. The issue seems to be related in my nginx installation. After i did a new clean install all was working as exspected with the nginx directive. The Bad Gateway issue was not because of wrong directive..more than a destroyed installation of FPM and Nginx.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 141
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready