temporary git for my web/image server app thing.. yeah
This should work on any version of go but please try latest, if latest doesnt work make a issue.
To configure, do something like this:
- Setup nginx to listen on port 80 for /app/ (or whatever its set to in a config) and fastcgi_pass all of it to 9001
- git clone, edit the script/config file with your domain name and such
- Make a mysql DB with name
ImgSrvr
and commandcreate table file ( hash char(6), user VARCHAR(255), filename VARCHAR(255), ip VARCHAR(45))
on user root. - Run, if you encounter errors, google it if its a issue with a config or look at it if its a issue about my script, the add it as a issue.
- Dont be evil.
Copyright 2018 gidoBOSSftw5731