https://github.com/jekuer/angular-ideal-htaccess
Ideal secure and performant htaccess for running an Angular application on Apache.
https://github.com/jekuer/angular-ideal-htaccess
angular apache htaccess spa
Last synced: 4 months ago
JSON representation
Ideal secure and performant htaccess for running an Angular application on Apache.
- Host: GitHub
- URL: https://github.com/jekuer/angular-ideal-htaccess
- Owner: jekuer
- License: gpl-3.0
- Created: 2019-11-20T17:31:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T09:12:07.000Z (almost 4 years ago)
- Last Synced: 2025-07-30T09:58:41.758Z (11 months ago)
- Topics: angular, apache, htaccess, spa
- Homepage:
- Size: 60.5 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ideal Angular Apache .htaccess
Ideal secure and performant htaccess for running an Angular application (no SSR) on Apache.
## Summary
This .htaccess file not only delivers your Angular application on Apache, but makes sure you get protected against malicious bots and different other hacking attacks. It also cares about performance by adding relevant caching headers, gzip and more.
Make sure you have the relevant apache modules installed on your server.
It is even prepared to add a prerender service like prerender.cloud or prerender.io.
**Kudos go to:**
- Scott Helme (securityheaders.com)
- Jim Walker (HackRepair.com)
- Jeff Starr (perishablepress.com)
- Julian Pömp (github.com/julianpoemp)