-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments: Setting Up a Static Site with Hugo and Push to Deploy #15
Comments
Thanks for the detailed how-to on your blog. I'm considering an automated build approach vs a simple script that updates my server with new posts. Some of my concerns with your approach as detailed in the post:
Any thoughts? Thanks again. |
For business-critical needs, sure, using more official images makes sense. For learning purposes I would say it's ok, but you're right in that it can be better. A bad actor could def. inject some malware into the generated HTML code, for example. Since this wouldn't require root access, simply changing user to non-root wouldn't help prevent the issue, as it would in other "what if bad code tries to take over my whole server?" situations. Since Hugo is a static go binary, it makes sense to keep your own image around for safety purposes. |
I absolutely love this project and approach. However, I have run into one security concern that I've been unable to resolve... My ITS folks show a vulnerability in one deployment due to "weak" ciphers in the Traefik service as it is currently deployed. In other servers of mine that use a traefik.toml file the remedy appears to be this syntax:
So, in the case of the deployment technique used in this project I tried this in files/docker-compose.yml:
But the correct syntax for this kind of entryPoint definition escapes me. Anybody know what it might be? Thanks and take care. |
The powers that be here at GC finally opened my blog to the world today, so I'm pleased to share the solution I found for my comment above. See https://static.grinnell.edu/blogs/McFateM/post/removing-traefik-weak-ciphers/ for details. Note that my blog still needs some work in terms of navigation and page addressing, so feel free to browse, but some things aren't working properly in production yet. Curiously, I have things working flawlessly in my Docksal dev environment, but my push to production isn't quite there yet. |
Unfortunately, I have run into another problem/issue that I'm unable to resolve...with Traefik. I'm using a fork of What I have in my
Can anyone see the problem here? Thanks in advance. |
https://jtreminio.com/blog/setting-up-a-static-site-with-hugo-and-push-to-deploy/
The text was updated successfully, but these errors were encountered: