Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alwatr/nginx
Alwatr Accelerated NGINX
https://github.com/alwatr/nginx
Last synced: about 1 month ago
JSON representation
Alwatr Accelerated NGINX
- Host: GitHub
- URL: https://github.com/alwatr/nginx
- Owner: Alwatr
- License: agpl-3.0
- Created: 2023-11-08T13:03:29.000Z (about 1 year ago)
- Default Branch: next
- Last Pushed: 2024-11-07T18:21:01.000Z (about 2 months ago)
- Last Synced: 2024-11-07T19:28:38.783Z (about 2 months ago)
- Language: Dockerfile
- Homepage:
- Size: 288 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Alwatr Accelerated Web Server
This is a high-performance version of NGINX, which has been enhanced by Alwatr for the purpose of serving static content efficiently.
## Usage
The recommended method for using the Alwatr Nginx is to place it behind a Kubernetes ingress or a simple edge reverse-proxy like Traefik.
In this setup, there's no need to configure edge features such as SSL, Domain, etc. in the Alwatr Nginx.```Dockerfile
FROM ghcr.io/alwatr/nginx:2
```### Serve Progressive Web Apps
```Dockerfile
ARG NODE_VERSION=lts
ARG ALWATR_NGINX_VERSION=2
FROM docker.io/library/node:${NODE_VERSION} as builder
WORKDIR /app
COPY package.json *.lock ./
RUN if [ -f *.lock ]; then \
yarn install --frozen-lockfile --non-interactive --production false; \
else \
yarn install --non-interactive --production false; \
fi;
COPY . .
RUN yarn build# ---
FROM ghcr.io/alwatr/nginx-pwa:${ALWATR_NGINX_VERSION} as nginx
# Config nginx
ENV NGINX_ACCESS_LOG="/var/log/nginx/access.log json"
# Copy builded files from last stage
COPY --from=builder /app/dist/ ./
RUN pwd; ls -lAhF;
```## Sponsors
The following companies, organizations, and individuals support Nginx ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
[![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
### Contributing
Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
### License
This project is licensed under the [AGPL-3.0 License](LICENSE).