nginx - Proxy .cfm to a CF server -
nginx - Proxy .cfm to a CF server -
i'd utilize nginx proxy server coldfusion.
i'm forced utilize coldfusion 9. cf developer edition installed using multiserver. inbuit jrun server running on port 8300 , can access admin panel @ http://localhost:8300/cfide/administrator/index.cfm described in installer.
i have hosts entry:
127.0.0.1 example.com and nginx config file following:
server { hear 80; server_name example.com; root /home/user/dev/cf; index index.cfm; location ~ \.cfm$ { proxy_pass http://127.0.0.1:8300; } } there file /home/user/dev/cf/index.cfm next content:
<cfoutput> <h1>dupa</h1> </cfoutput> however, when access http://example.com or http://example.com/index.cfm, 404 error. docroot contains static files served normally, e.g. http://example.com/sitemap.xml.
am missing something? should proxy cfm files cf server?
nginx coldfusion proxy coldfusion-9
Comments
Post a Comment