Comments (8)
You have alternative notation that should work in theses cases :
https://github.com/jdauphant/ansible-role-nginx/releases/tag/v1.2
from ansible-role-nginx.
It's not just a cosmetic problem: we ran into the same issue and our site wasn't reachable at all with firefox because headers with newlines are disallowed in http2 (see here and here).
@jdauphant: Why does the nginx role modify the strings at all? Wouldn't it be better to just remove the manipulations?
from ansible-role-nginx.
+1
Here are more details about the spec: http://stackoverflow.com/a/31324422/353337.
from ansible-role-nginx.
@andrenarchy Have you see the new notation ? (https://github.com/jdauphant/ansible-role-nginx/releases/tag/v1.2 )
The new notation is not cosmetic, it doesn't edit string at all (except spacing after new line : https://github.com/jdauphant/ansible-role-nginx/blob/master/templates/site.conf.j2#L5).
Old notation are just keeped has compatibility
from ansible-role-nginx.
Old notation are just keeped has compatibility
Considering this bug, I guess removing the old, buggy notation and bumping the major version would be a sensible thing to do.
from ansible-role-nginx.
@jdauphant Yes, it works with the "new notation". The question is: why should these strings be modified at all? Removing the string modifications wouldn't break compatibility – it would increase compatibility because it doesn't break headers anymore (and probably other settings).
from ansible-role-nginx.
@nschloe I was thinking about that the time when I introduce the notation.
It's a good idea.
@andrenarchy The string modification are here only to provide readable files, it's debatable some people want other doesn't want that. But if we remove old notation to replace by the new notation, we can provide both.
from ansible-role-nginx.
If someone want to push a PR that remove old syntax and promote the new syntax, I will be happy to merge :)
from ansible-role-nginx.
Related Issues (20)
- Map directive does not work in http section HOT 1
- Add installation from sources HOT 1
- remove a site is not taken in consideration HOT 2
- Ansible error HOT 1
- Change nginx user HOT 4
- disable default config HOT 5
- Error in handlers/main.yml HOT 1
- issue when adding header parameter with ";" HOT 1
- Does this role need run as root? HOT 1
- amplify.api_key variable does not exist HOT 1
- add_header X-XSS-Protection is causing problems HOT 2
- Nginx didn't start on install
- v2.16 missing on https://galaxy.ansible.com/jdauphant/nginx HOT 1
- Warning, Duplicate When Key HOT 5
- Allow for no default config to be generated HOT 3
- Configuring modules is currently limited to Centos/RHEL only HOT 1
- Missing mime.types file plus /etc/mime.types idea HOT 2
- Adhere to ansible-lint rules HOT 2
- Travis job is still on python 2.7 HOT 2
- Debian 12 (python3) support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-nginx.