forked from coolaj86/goldilocks.js
		
	added example config to show what can currently be done
This commit is contained in:
		
							parent
							
								
									70e7d57395
								
							
						
					
					
						commit
						158c363c88
					
				
							
								
								
									
										30
									
								
								goldilocks.example.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								goldilocks.example.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
tcp:
 | 
			
		||||
  bind:
 | 
			
		||||
    - 22
 | 
			
		||||
    - 80
 | 
			
		||||
    - 443
 | 
			
		||||
  modules:
 | 
			
		||||
    - name: forward
 | 
			
		||||
      ports:
 | 
			
		||||
        - 22
 | 
			
		||||
      address: '127.0.0.1:8022'
 | 
			
		||||
 | 
			
		||||
tls:
 | 
			
		||||
  modules:
 | 
			
		||||
    - name: proxy
 | 
			
		||||
      domains:
 | 
			
		||||
        - localhost.bar.daplie.me
 | 
			
		||||
        - localhost.foo.daplie.me
 | 
			
		||||
      address: '127.0.0.1:5443'
 | 
			
		||||
 | 
			
		||||
http:
 | 
			
		||||
  trustProxy: true
 | 
			
		||||
  modules:
 | 
			
		||||
    - name: proxy
 | 
			
		||||
      domains:
 | 
			
		||||
        - localhost.daplie.me
 | 
			
		||||
      address: '127.0.0.1:4000'
 | 
			
		||||
    - name: static
 | 
			
		||||
      domains:
 | 
			
		||||
        - '*.localhost.daplie.me'
 | 
			
		||||
      root: '/srv/www/:hostname'
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user