Thomas Lynch
e787c7892d
Starting work on making nginx easy to configure (for standard installations) reference #352
3 years ago
Thomas Lynch
9f7b4a6d9d
force higher iq nginx configs, and improve readme about it
3 years ago
Thomas Lynch
cfae852971
use gulp-real-favicon
...
make favicons , files for safari, msfile, browserconfig, webmanifest, etc in gulp task
remove favicon2 so no exclamation mark favicon for now, until it can be incorporated
somehow. but the number like (x) is shown so it shouldnt matter.
maybe another commit can add a general "!" icon if somebody makes one
3 years ago
Thomas Lynch
d46ca5ade0
make csp always
...
for private backend, set the headers in the named block
remove the root and use /dev/null instead of $uri to call it
4 years ago
Thomas Lynch
1118ee3e4f
nginx fuckery, as usual
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
9c8e842913
close #319
4 years ago
Thomas Lynch
95397a45fd
add connect-src to content security policy, fixes websocket for browsers (actually just 1 browser, fucking SAFARI) that check it for websockets, because apparently it cant just use the 'self' from the default-src... f me
4 years ago
some random guy
b110dac7ba
support flac audio
4 years ago
Thomas Lynch
b7b3bfc740
comma missing in referrer policy header
4 years ago
Thomas Lynch
81e880dbb0
Make referrerpolicy a little less strict, so yt embeds will work closes #243
4 years ago
Thomas Lynch
a04d62d29e
Minor nginx config changes, fix the routes snippet and add a complete advanced example
4 years ago
Thomas Lynch
1399dda5fd
Json routes will hit backend & get 404'd there,
...
allows for pages with missing json that arent prebuilt to build when json route is hit,
without requiring html pageload first better for api
4 years ago
some random guy
9d947772d6
fix csp headers in nginx example configs for embedding
4 years ago
Thomas Lynch
14ce396c87
README improvement, nginx configs moved, nginx error pages fixed
4 years ago
Thomas Lynch
42f5a15ac7
Improve stuff for webmanifist/browserconfig/favicon and the templates and nginx settings
4 years ago
Thomas Lynch
ebff360786
bmps missing from nginx config reference #165
4 years ago
Thomas Lynch
ed3a3b5697
Update nginx.example
...
im dumb
4 years ago
fatchan
91dc639130
nginx config tweaks: fix CSP for image loading bars/blob urls, change max body size, disable server tokens
4 years ago
fatchan
9ded8817d9
logout change
4 years ago
fatchan
d725c3c573
update pm2 and add favicon changes for apple touch icon, etc and make it a separate gulp folder
4 years ago
fatchan
e6d7785793
migration move files from /img to /file since it can contain more than just images
5 years ago
fatchan
6aeaeaf895
add some filetypes to nginx configs
5 years ago
fatchan
987c7bc8e4
not really true because of order of rules and another existing for html, will need to change where files are stored for that to work
5 years ago
fatchan
84c526b5f7
better/more secure and improved comments about custom file types and uses content-disposition attachment header in nginx
5 years ago
fatchan
4032e6a214
allow custom mime types for file uploads defined in config
5 years ago
fatchan
025e6de2d5
502 not so ugly error page for nginx
5 years ago
fatchan
c7f70c88a0
opus audio file type
5 years ago
fatchan
9c7285edcc
add filetypes to nginx config
5 years ago
fatchan
b6a8703621
some changes to make it at least _possible_ to run in dev without https
5 years ago
fatchan
8f0e4b40ac
more secure headers and settings in nginx example config and remove some unnecessary inline css
5 years ago
fatchan
82997d836d
update gulpfile with better paths and add example nginx conf
5 years ago