lainchan / λ

Vichan won't work on Tor

Bob Arctor · 2024-06-15 14:32
I'm trying to host a site similar to this one using Vichan on Tor, But I keep getting the same nginx 405 error, any help ?
Turing · 2024-06-15 14:42
If you can't figure it out yourself you're not fit to run an imageboard.
Guthrie · 2024-06-16 00:31
check your nginx config, we need more info than it doesn't work.
Unnamed · 2024-06-16 10:21
>>39341 I know I'm bad at websev and I'm sorry, I just work on low level stuff such as compilers and Operstjng Systems, I would appreciate some help with it.
Tyrell Wellick · 2024-06-16 15:16
>>39342 here is the entire /etc/nginx/nginx.conf file
Agent Smith · 2024-06-16 15:43
have you enabled cgi? what's in conf.d/*.conf and /web/site.conf please do not post images of text
stack · 2024-06-16 22:49
>>39345 What’s not allowed is the HTTP method, as in get/post. Nginx won’t serve static content to a POST request. If you are trying to submit a form with a PHP script behind it and you haven’t configured nginx correctly for PHP, nginx will throw this error because it thinks it’s being asked to serve non-dynamic content which should be requested using GET and not POST. In the config for the site in question, you should have a location{} block containing a proxy_pass directive that sends requests for URLs ending with .php (or ones that are PHP but don’t say it in the filename) to the php_fpm socket. Details of how to go about this can be found in the nginx docs, they’re pretty accessible. Turn your access and error logs on both in that main config and in the site configs and you’ll be able to get more details of things like this. Don’t forget to turn on logging in phpfpm config as well
John Doe · 2024-06-18 04:39
>>39347 Thank you very much, Now I'm using another board made entirely in Go without any javascript, Saves me a lot of time rls-moe/nyx on github
Judge Fang · 2024-06-18 15:36
>>39358 I have got the site running on both Tor and I2P, Thank you everyone for the help