{"id":25074894,"url":"https://github.com/devafortun/wordpress-nginx-config","last_synced_at":"2025-06-13T04:34:01.569Z","repository":{"id":274951034,"uuid":"908353061","full_name":"devafortun/Wordpress-nginx-config","owner":"devafortun","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-25T20:53:22.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T19:47:21.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devafortun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-25T20:47:29.000Z","updated_at":"2025-01-18T17:12:49.000Z","dependencies_parsed_at":"2025-01-30T10:43:25.686Z","dependency_job_id":null,"html_url":"https://github.com/devafortun/Wordpress-nginx-config","commit_stats":null,"previous_names":["devafortun/wordpress-nginx-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devafortun/Wordpress-nginx-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2FWordpress-nginx-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2FWordpress-nginx-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2FWordpress-nginx-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2FWordpress-nginx-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devafortun","download_url":"https://codeload.github.com/devafortun/Wordpress-nginx-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2FWordpress-nginx-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259581321,"owners_count":22879834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-07T00:19:33.868Z","updated_at":"2025-06-13T04:34:00.672Z","avatar_url":"https://github.com/devafortun.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP-nginx-config\nBasic Nginx + WordPress setup\n\nIt is compiled from our production setup. It is not suitable for Copy\u0026Paste to production use without edits.\n\n# Main features\n- extended configuration via \"features includes\"\n- PHP5/PHP7 support\n- SSL confing based on \"Mozilla SSL Configuration Generator\" recommendations\n- Let's Encrypt enabled (OCSP Stapling included)\n- clientside static resources caching and serverside open files descriptors caching\n- gzip compression\n- CloudFlare support\n- optional GeoIP blocking\n- optional Nginx Microcache settings\n- optional basic HTTP auth\n- Basic \u0026 WordPress Security\n  - prevent HTTP Poxy\n  - prevent Slow Loris (optional)\n  - blocking common hacking tools and uncommon HTTP methods\n  - usernames harvesting denial\n  - blocking access to files with sensitive informaion and VCS systems\n  - blocking PHP in uploads directory\n  - blocking empty referres into comments, login and ajax\n  - blocking suspicious queries (based on iThemes Security blacklist)\n  - adding basic security headers\n\n# Extra configs\nLook at **extras** folder\n- mu-plugins - small mu-plugin for WordPress\n  - **Enhancer**\n  - enable bcryp hashes for user passwords\n  - filter out sensitive user info from rest API\n  - change status code of failed logins to 401\n  - **Mail Fixer**\n  - fix Return-Path header\n  - set SMTP server\n  - **Team Cookie**\n  - allow to exclude web related users from analytics via special cookie\n  - **MO Cache**\n  - simple file system cache for gettext translations\n- fail2ban rules - block many 404, block failed logins\n- log rotate - log rotate rule for nginx logs\n- php-fpm - basic PHP-FPM pool with open-basedir and disable_functions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevafortun%2Fwordpress-nginx-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevafortun%2Fwordpress-nginx-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevafortun%2Fwordpress-nginx-config/lists"}