Invalid sites-available/default with nginx-common 1.10?

Bug #1578969 reported by schu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Invalid
Undecided
Unassigned

Bug Description

The new nginx-common stable package (1.10.0-0+trusty0) seems to ship with an invalid default config:

https://bazaar.launchpad.net/~nginx/nginx/debian/view/head:/debian/conf/sites-available/default#L21

```
nginx: [emerg] a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/default:17
```

https://paste.debian.net/682198/

Am I missing something?

Revision history for this message
Thomas Ward (teward) wrote :

You probably have two variants enabled. Check the data in /etc/nginx/sites-enabled/ and make sure that you don't have any other server configurations with default_server in the configurations.

Revision history for this message
schu (schuio) wrote :

Indeed, this was a problem in my recipe (which didn't pop up before) and solved by making sure the default configuration actually is removed before deploying a new one. Thanks, Thomas.

Changed in nginx:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.