Opened 10 years ago

Closed 10 years ago

#11945 closed Patch - Feature (Fixed)

Add nginx Configuration Example

Reported by: Jason Musits <jmusits@…> Owned by: Stuart Auchterlonie
Priority: minor Milestone: 0.28
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I have added an example nginx configuration file and updated the INSTALL file with instructions on how to setup Mythweb using nginx.

Pull request here:

https://github.com/MythTV/mythweb/pull/8

Change History (5)

comment:1 Changed 10 years ago by gnassas@…

Great stuff but shouldn't the index be set to mythweb.php? The project has no index.html or index.htm. Also, is it necessary to pass the host name? I don't do that on my setup.

comment:2 Changed 10 years ago by Jason Musits <jmusits@…>

The index isn't used, as everything that matches *.php ends up getting passed through to php-fpm and essentially everything gets rewritten to mythweb.php something. I can change it if there is a better pattern than what I am currently doing.

As far as passing the hostname I think you are correct that it is not required. I'll check later and update the pull request.

Thanks for the feedback.

comment:3 Changed 10 years ago by Jason Musits <jmusits@…>

I have verified that hostname is not required and have updated the pull request.

comment:4 Changed 10 years ago by Stuart Auchterlonie

Milestone: unknown0.28
Owner: changed from Rob Smith to Stuart Auchterlonie
Status: newaccepted

I'm already running this setup and have been for a while, so i'll take this one.

Stuart

comment:5 Changed 10 years ago by Rob Smith

Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.