Commit graph

9 commits

Author SHA1 Message Date
wiz
4a2c35c81b
[ops] Add missing unfurl nginx route 2022-08-30 16:50:31 +02:00
wiz
004dcebc19
[ops] Add nginx entrypoints for unfurler daemon 2022-08-27 14:17:17 +02:00
wiz
bba9f2608a
[ops] Add nginx placeholders for unfurlbot configuration 2022-08-27 13:55:30 +02:00
wiz
92da3988da
Reduce nginx cache time for production homepage 2022-07-18 17:47:33 -05:00
Erik Arvstedt
eec82e1bf9 nginx: Fix gixy test http_splitting
Fixes test error:
```
>> Problem: [http_splitting] Possible HTTP-Splitting vulnerability.
Description: Using variables that can contain "\n" or "\r" may lead to http injection.
```

Summary: `$uri` should never be used in `return` statements.
See: https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md

In this case, `$uri` always equals `/`, so just replace it.
2022-07-11 15:25:42 +02:00
wiz
a710934830
Update production nginx.conf resource cache times 2022-01-14 22:35:25 +09:00
wiz
f0c53a4e5b
Improve nginx caching and use redirects for i18n 2022-01-12 23:12:49 +09:00
wiz
c778e84247
Add missing } at end of nginx/server-common.conf 2022-01-04 17:27:37 +09:00
wiz
4de1d017ad
Update production configurations + README for v2.3
* Refactor production nginx configuration files
* Update README for new networks, SQL, etc.
2022-01-04 16:38:12 +09:00