mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Nginx Webserver Config (markdown)
parent
e0ce548b09
commit
b7560be40b
1 changed files with 30 additions and 1 deletions
|
|
@ -14,8 +14,37 @@ Once I deleted those files, nginx was working instantly. Propose a new step coul
|
|||
|
||||
If you use Nginx in front of Wekan on CentOS 7, please try: `setsebool -P httpd_can_network_connect 1`. This should allow nginx or any other webserver to connect to a container. Please [**do not disable SELinux**](https://github.com/wekan/wekan/issues/2792#issuecomment-630222315)
|
||||
|
||||
## Nginx requires unsafe-eval for WeKan date format
|
||||
|
||||
## [Attachment file size](https://github.com/wekan/wekan/issues/2103#issuecomment-455014303)
|
||||
[Source](https://github.com/wekan/wekan/issues/4220#issuecomment-990243775)
|
||||
|
||||
Thank you for your answers. I figured out that in my nginx config I needed to add allow `unsafe-eval`:
|
||||
|
||||
Old:
|
||||
```
|
||||
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline'";
|
||||
```
|
||||
Now:
|
||||
```
|
||||
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'";
|
||||
```
|
||||
This solves my problem.
|
||||
|
||||
Thanks
|
||||
|
||||
## Attachment file size
|
||||
|
||||
[Source](https://github.com/wekan/wekan/issues/2103#issuecomment-455014303)
|
||||
|
||||
`/etc/nginx.conf`:
|
||||
```
|
||||
http {
|
||||
...
|
||||
client_max_body_size 100M;
|
||||
}
|
||||
```
|
||||
|
||||
## Others
|
||||
|
||||
[Meteor.js on Ubuntu 14.04 with nginx](https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue