Server Logs
/var/log/nginx/access.log: Every request to your web server is recorded in this log file unless Nginx is configured to do otherwise.
/var/log/nginx/error.log: Any Nginx errors will be recorded in this log.
GH1-FXO# show run
!
version 8.30W
!
hostname GH1-FXO
!
!
no bridge spanning-tree
!
dhcp-list 0 type server
dhcp-list 0 address server interface ether0.0
dhcp-list 0 option dhcp-lease-time 600
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address dhcp
!
interface ether1.0
no ip address
shutdown
ip dhcp-group 0
!
snmp name AP200D
!
no arp reset
!
route 192.168.1.0 255.255.255.0 192.168.10.1
!
logging event 4-warning
logging on
!
ntp refresh 60
ntp offset 03:00
ntp server 185.22.183.73
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start preferred-slow
h323 call tunnel disable
no local-ringback-tone
!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
connection plar 310
ring detect-timeout 50
busyout action tone
no caller-id enable
!
!
! FXO
voice-port 0/1
no caller-id enable
!
!
!
!
!
voice service voip
minimize-voip-port multiply 1
!
! Pots peer configuration.
!
dial-peer voice 2 pots
destination-pattern T
port 0/0
user-name 408
user-password *****
!
!
!
! Voip peer configuration.
!
dial-peer voice 1 voip
destination-pattern 310
session target sip-server
session protocol sip
voice-class codec 1
vad
no dtmf-relay
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.10.151
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g7231r53
codec preference 3 g726r32
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server 192.168.1.151
signaling-port 50639
remote-party-id
route-by-auxiliary
register e164
!
!
! MGCP configuration.
!
mgcp
no codec
vad
!
!
! Tones
voice class clear-down-tone 0 450 0 500 500
!
!
!
!
!
add action=accept chain=forward src-address-list=office-networks
add action=accept chain=forward src-address-list=remote-office
set sip <b>disabled=yes</b> ports=5060,5061,23000,23001 sip-timeout=10m
add action=accept chain=input in-interface-list=!WAN src-address-list=office-networks
add action=accept chain=input in-interface-list=!WAN src-address-list=remote-office
если я правильно помню эту ошибку nginx не понимает что файл php нужно обрабатывать интерпретатором php.
Исправляется установкой соответствующего расширения php и последующим перезапуском nginxеще вот тут посмотрите
и тут