cgi_ext, redirect and upload_repo now functional in config, fixed location picker, some cleanup
This commit is contained in:
@@ -38,13 +38,10 @@ public:
|
||||
std::vector<std::string> cgi_ext; // php not .php
|
||||
bool autoindex;
|
||||
|
||||
std::vector<std::string> upload_repo;
|
||||
std::string upload_repo; // might change name...
|
||||
|
||||
// wait if i can call several times, shouldn't it be a map?
|
||||
// wait no there can only be 1 and i think it might have to be in
|
||||
// location only...
|
||||
int redirect_status;
|
||||
std::string redirect_uri;
|
||||
int redirect_status;
|
||||
std::string redirect_uri;
|
||||
// au pire you do location / { return 301 http://location; }
|
||||
// and that's how you get the redirect from the root.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user