mirror of
				https://github.com/Clortox/tylerperkins.xyz.git
				synced 2025-07-17 14:42:11 +00:00 
			
		
		
		
	Add nginx stuff
This commit is contained in:
		
							parent
							
								
									ea76d15383
								
							
						
					
					
						commit
						d384757b2f
					
				| @ -0,0 +1,7 @@ | ||||
| FROM nginx:latest | ||||
| 
 | ||||
| COPY nginx.conf /etc/nginx/nginx.conf | ||||
| 
 | ||||
| COPY ./public /var/www/static | ||||
| 
 | ||||
| RUN nginx -t | ||||
							
								
								
									
										25
									
								
								nginx.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								nginx.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| events { | ||||
|   worker_connections 1024; | ||||
| } | ||||
| 
 | ||||
| http { | ||||
|   include mime.types; | ||||
|   default_type application/octet-stream; | ||||
| 
 | ||||
|   access_log /var/log/nginx/access.log; | ||||
|   error_log /var/log/nginx/error.log; | ||||
| 
 | ||||
|   server { | ||||
|     listen 80; | ||||
|     #server_name localhost; | ||||
|     root /var/www/static; | ||||
| 
 | ||||
|     index index.html; | ||||
| 
 | ||||
|     location / { | ||||
|       try_files $uri $uri/ =404; | ||||
|     } | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user