Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

nginx redirect location to port

location /route/ {
    proxy_pass  http://127.0.0.1:9000/;
}
Comment

nginx redirect to port

server {
listen 80; // port to listen on

server_name <server_name>;

// port to return/redirect to:
return 443 https://$server_name$request_uri;
}
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu errors were encountered while processing libc-bin 
Shell :: functions in linux 
Shell ::  
Shell ::  
::  
::  
Shell ::  
Shell ::  
Shell :: git remote using ssh 
:: Microsoft.PowerShell_profile.ps1 
Shell :: shell script or condition 
Shell ::  
Shell ::  
::  
Shell ::  
Shell ::  
Shell :: certbot nginx certonly 
Shell ::  
Shell :: Push a New Branch To Remote Repository in git command 
Shell :: add-apt-repository remove 
:: dar permiso de ejecucion linux 
Shell :: git checkout head 
Shell :: ubuntu version command line 
:: linux dark mode 
:: make shortcut folder in htdocs 
::  
:: git files change from commit 
::  
Shell :: enable ssh ubuntu 
Shell :: bash print output to one line 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =