Skip to content

Instantly share code, notes, and snippets.

View vicentedeandrade's full-sized avatar

Vicente de Andrade vicentedeandrade

  • Advance Soluções em TI
  • Blumenau/SC
View GitHub Profile
@vicentedeandrade
vicentedeandrade / fix-wordpress-permissions.sh
Created November 20, 2023 20:51 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory
@vicentedeandrade
vicentedeandrade / dockerfile
Created February 28, 2023 13:28 — forked from AntonMiles/dockerfile
Creating A .NET Windows Docker Container With Internal IIS SSL (From PFX File) and HTTPS Support
# The following won't work as-is, I use '<>' to denote variables you need to replace, including a name so you can keep them straight!
# A list of all of them, for searching follows.
# app_directory
# app_name
# ssl_password
# ssl_name
#base machine is meant to contain IIS as well as asp/.net requirements
FROM microsoft/aspnet
#Expose port 443 to allow incoming traffic over the default HTTPS port