Skip to content

Instantly share code, notes, and snippets.

View mhdzumair's full-sized avatar

Mohamed Zumair mhdzumair

View GitHub Profile
@mhdzumair
mhdzumair / blockedsites
Created October 2, 2021 09:40
configuration file of Squid proxy
*.facebook.com
facebook.com
*wso2.com
wso2.com
ubuntu.com
@mhdzumair
mhdzumair / proftpd.conf
Created October 2, 2021 09:00
configuration file of proftpd service
# This is the ProFTPD configuration file
#
# See: http://www.proftpd.org/docs/directives/linked/by-name.html
# Security-Enhanced Linux (SELinux) Notes:
#
# In Fedora and Red Hat Enterprise Linux, ProFTPD runs confined by SELinux
# in order to mitigate the effects of an attacker taking advantage of an
# unpatched vulnerability and getting control of the ftp server. By default,
# ProFTPD cannot read or write most files on a system nor connect to many
@mhdzumair
mhdzumair / lt-2021-095
Last active August 3, 2021 18:35
nginx server configs for wso2 linux & devops training assignment.
server_tokens off;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
server {
listen 80 default_server;
return 301 https://$host$request_uri;
}