summaryrefslogtreecommitdiff
path: root/system/tls/devcerts.go
AgeCommit message (Collapse)Author
2019-12-29Allow data directories outside pwdMiguel Angel Ajo
Running ponzu-cms inside a docker container, and maintaining data files in a volume (or several) was not possible with the previous directory schema without copying files or binaries to the volume. This commit adds several environment variables to allow the administrator to specify paths for directories while retaining backwards compatibility. - PONZU_DATA_DIR : is the directory where all the data and other directories will be stored, still the other directories can be controlled by the other env variables. - PONZU_TLS_DIR : is the directory to store devcerts and autocerts - PONZU_ADMINSTATIC_DIR : directory where the admin static files are served from. - PONZU_UPLOAD_DIR: upload files directory - PONZU_SEARCH_DIR: index directory for searches
2017-01-16[core] Adding toggle for CORS, GZIP in admin/cms configuration (#30)Steve
This PR enables admins to disable/enable CORS and GZIP from within the admin CMS configuration page. Both are enabled by default. Note: currently, the GZIP implementation is 100% on the fly, for every qualifying API endpoint request. This could add significant CPU usage, but dramatically decreases bandwidth. Will be considering other better implementations, but for now YMMV. Possible optimizations: - pooling gzip Writers vs. creating a new one for each response - caching gzipped responses (in memory? on disk?) - enforcing size threshold (only gzip content larger than N bytes)
2017-01-04Fixed self-signed certificates when running a dev serverZach Shipko
2016-12-28removing old fmt print for debugSteve Manuel
2016-12-28reverting to more simple key gen algorithmSteve Manuel
2016-12-27trying alternate key gen algorithmSteve Manuel
2016-12-27trying alternate key gen algorithmSteve Manuel
2016-12-27adding alternate usage and ca optionsSteve Manuel
2016-12-27trying alternate key gen algorithmSteve Manuel
2016-12-27remove old certs if foundSteve Manuel
2016-12-27adding CA option back for testingSteve Manuel
2016-12-27add additional cert usage back for testingSteve Manuel
2016-12-27changing cert to not be a CASteve Manuel
2016-12-27adding digital sig as option for key usageSteve Manuel
2016-12-27updated vendored system path for tls certsSteve Manuel
2016-12-27need vendored system path for tls certsSteve Manuel
2016-12-27adding error logging to debugSteve Manuel
2016-12-27adding self-signed cert generator for local https/http2 testingSteve Manuel