file uploads failing
compscidr opened this issue · comments
On the page where you can usually see the image it just has some type of error.
In the logs:
[GIN] 2021/08/10 - 16:54:38 | 200 | 26.895968ms | 216.245.221.86 | GET "/"
[cors] 2021/08/10 16:56:08 HandlerFunc: Actual request
[cors] 2021/08/10 16:56:08 Actual request no headers added: missing origin
2021/08/10 16:56:08 trying: 0/0/0/b.php
2021/08/10 16:56:08 NOT FOUND
[GIN] 2021/08/10 - 16:56:08 | 404 | 7.05544ms | 185.191.34.215 | POST "/wp-content/plugins/easyrotator-for-wordpress/b.php"
Fixed, turned it out wasn't a problem with the go code at all, it was the nginx proxy that was limiting the file size:
https://github.com/nginx-proxy/nginx-proxy/blob/main/README.md#custom-nginx-configuration