Skip to content

Instantly share code, notes, and snippets.

View sxueck's full-sized avatar

SXueckShen sxueck

View GitHub Profile
@jinyu121
jinyu121 / apache_v2proxy.conf
Last active March 7, 2023 16:47
V2Ray: VMess over apache TLS
<VirtualHost *:80>
ServerName your.domain
ServerAdmin admin@your.domain
DocumentRoot /var/www/v2proxy/
ErrorLog ${APACHE_LOG_DIR}/error-v2proxy.log
CustomLog ${APACHE_LOG_DIR}/access-v2proxy.log combined
php_admin_value open_basedir "/var/www/v2proxy/:/tmp/:/proc/"
<Directory /var/www/v2proxy>
@aksakalli
aksakalli / SimpleHTTPServer.cs
Last active May 11, 2024 03:22
SimpleHTTPServer in C#
// MIT License - Copyright (c) 2016 Can Güney Aksakalli
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;