Giter Site home page Giter Site logo

nginx-fivem-proxy's Introduction

nginx-fivem-proxy

This container takes official alpine nginx image and turns on a proxy server for your fivem server.

You can do a simple mount to simply serve files from your local file system with nginx. Make sure to map the directory you want to serve from with the -v command

Also, don't forget to map your certificate. I gave a dumb certificate and a private key JUST FOR THE EXEMPLE. DON'T USE THEM

docker run -d --name nginx-fivem-proxy \
	--restart unless-stopped \
	-e FIVEM_SERVER_IP="100.100.100.100" \
	-e FIVEM_SERVER_PORT="30120" \
	-e FIVEM_PROXY_DOMAIN="my.domain.com" \
	-e FIVEM_PROXY_PORT="30130" \
	-v /my/html/files/:/var/www/:ro \
	-p 30130:30120 \
	-p 443:443 \
	-v /srv/cache/:/srv/cache/ \
	-v /my.certificate.pem:/certificate.pem:ro \
	-v /my.private_key.pem:/private_key.pem:ro \
	ghcr.io/painteau/nginx-fivem-proxy:latest

Then navigate in a browser to https://your.proxy.domain and enjoy

nginx-fivem-proxy's People

Contributors

painteau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.