Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

medabida/assetsHandler

Repository files navigation

assetsHandler

server {
	listen 443 ssl;
	server_name <SERVER_NAME>;
	location /upload {
		proxy_pass http://<SERVER_IP>:<PORT>;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection 'upgrade';
		proxy_set_header Host $host;
		proxy_cache_bypass $http_upgrade;
	}
	location /images {
		proxy_pass http://<SERVER_IP>:<PORT>;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection 'upgrade';
		proxy_set_header Host $host;
		proxy_cache_bypass $http_upgrade;
	}
        location /videos {
                proxy_pass http://<SERVER_IP>:<PORT>;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
        }
        location /docs {
                proxy_pass http://<SERVER_IP>:<PORT>;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
        }


}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published