location picker works, needs to be tested more tho

This commit is contained in:
Me
2022-08-10 01:59:10 +02:00
parent 1eb989a3fd
commit 8e90221058
8 changed files with 141 additions and 68 deletions

View File

@@ -38,10 +38,10 @@ public:
std::vector<std::string> cgi_ext; // php not .php
bool autoindex;
std::string upload_repo; // might change name...
std::string upload_dir;
int redirect_status;
std::string redirect_uri;
int redirect_status; // only in location
std::string redirect_uri; // only 1 per location
// au pire you do location / { return 301 http://location; }
// and that's how you get the redirect from the root.