Changes between Initial Version and Version 2 of Ticket #2244
- Timestamp:
- 09/13/21 13:54:13 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2244 – Description
initial v2 1 With this being my ` .conf`1 With this being my `sites-enabled/foo.conf` 2 2 {{{ 3 3 server { … … 8 8 } 9 9 }}} 10 ... and this my ` inc`10 ... and this my `sites-enabled/inc` 11 11 {{{ 12 12 listen 443 ssl http2; … … 15 15 > nginx: [emerg] "listen" directive is not allowed here in /etc/nginx/sites-enabled/inc:1 16 16 17 If I move the ssl_certificate lines to `inc` (and move the `listen` back to ` .conf`), it works.17 If I move the ssl_certificate lines to `inc` (and move the `listen` back to `foo.conf`), it works. 18 18 19 19 So either this is a bug, or http://nginx.org/en/docs/ngx_core_module.html#include is wrongly claiming that `include` works in **any** context.